fix to loadfolder regexes work

Some bugfixes, as well as regexes being implemented
Hard limits used for length for dbu filenames as I have not figured out how to do it with regexes