always test if the file is a spreadsheet file