Use the correct output file.