yield generic resource in dirlist