Fixed infile and outfile