edits to output files