Check CSV file headers sooner