Fixed CSV file reading problem