Changed input files to csv files.