reformated the csv file