Add text to file.