Added support for CSV file format