Modifying output file