Wrote in text file.