converts csv file to txt file