https://tutorial.eyehunts.com/python/python-write-string-to-file/
Python write string to file