change output file contents