Add text to file