https://medium.com/@microbioscopicdata/mastering-file-operations-in-python-a-comprehensive-tutorial-on-pathlib-dbcb91e8e103