Rewrite and rename of _filedir_rooted

renamed to _filedir_rooted_filtered