Adds filter for unwanted files for dynamicaly loaded directorys.