https://www.freecodecamp.org/news/python-create-file-how-to-append-and-write-to-a-text-file/