Added text to a file.