Implement saving text files.