modified output file