https://tutorial.eyehunts.com/python/why-is-it-considered-good-practice-to-open-a-file-from-within-a-python-script-by-using-with-keyword/
Why is it considered good practice to open a file from within a python script by using with keyword