def glob(self, pattern):
if not pattern:<EOL><INDENT>raise ValueError("<STR_LIT>".format(pattern))<EOL><DEDENT>pattern = self._flavour.casefold(pattern)<EOL>drv, root, pattern_parts = self._flavour.parse_parts((pattern,))<EOL>if drv or root:<EOL><INDENT>raise NotImplementedError("<STR_LIT>")<EOL><DEDENT>selector = _make_selector(tuple(pattern_parts))<EOL>for p in selector.select_from(self):<EOL><INDENT>yield p<EOL><DEDENT>
Iterate over this subtree and yield all existing files (of any
        kind, including directories) matching the given pattern.