Updated the output file