Created a write-to-file function