Finished output file formatting