Detecting as showing the encoding of CSV files. User can change encoding. Also accepting the number of lines to import for CSV files