Wrote an article
https://itsmycode.com/python-list-files-in-a-directory/