move detectDelimiter to CsvControl