I think I'm missing some context on how we and who get these csv files from, but I'm wondering if we should be using a csv sniffer (since csvs tend to vary in format pretty badly). It would also let us not need to do the headers check below.