Unifies Set with a set of BaseName-FullName entries for all
directories or regular files (respectively) in Directory. If
Directory is not given, it defaults to the current working
directory. If Pattern is given, Set only includes entries where
BaseName matches that glob pattern.