Every time I've written software to read a CSV I grab the file, then ask user if it contains column headers. If so, I display column headers and ask user to map to hte columns I use. If not, I display first row of data and ask for map.
Code:
sj@darkstar ~ $ man google contacts
No manual entry for google
No manual entry for contacts
sj@darkstar ~ $
Looks like you are SOL