renamed the input and output files