https://medium.com/@neonforge/how-to-read-and-write-files-with-python-the-step-by-step-guide-d927ca4a95ff