Move input and output file.