read the first line of csv for autodetect the csv delimiter