MMM currently uses `pathlib.Path.rglob`method for getting a list of all files in a folder which is quite slow. The new suggested method is `os.scandir` which is much faster.