Fix CSV file treatment