Filter empty columns from import file, consolidate getHeadersFromFile into getDataFromFile
Filter empty columns from import (eg. xlsx seems to include all cols upto AZ even if empty which causes saveToDatabase to crash with duplicate 'empty' field names).
This also simplifies so that we only read the datafile once for both headers and data.
Edited by bgm