Add text to the file