Output now goes into txt files.