Convert CSV files to tuple