Modification to generate the tidy.txt as output.