tried to debug it: it seems to be correctly making a list of files and starts to loop through them, but the break statement on line 342 goes out of the loop after the very first file added to base_dict.
If I remove the break sentence - it seems to be taking all the files as expected. But I can't verify it works correctly yet because of one other bug. Will try to make a PR as soon as I'm sure it works.