Added a line of text to the file.