Added a line to the text file.