be more liberal with CSV file type check