I'd like to automatically determine the type of CSV file I'm importing by examining the first line. Is there any way to get the first line as [String] so that I can test their values (without parsing the whole file)?
Ideally, I could then parameterize the record type as part of the startImport call, but I can also just instantiate two different importers.