Wrote an article
https://itsmycode.com/how-to-check-if-a-file-exists-in-python/