Added support for opendir to return all files if filter is empty
Fixed addDir to look into libary folders
Replaced opendir with glob, no need to recursively loop through here!