Updated - Output files are formatted

updated and formatted the output file structure