Output file generation

Updated the output file to be made in a more readable format