Generator for `self.filetype` other than file

def _generator_other(self):
        """Generator for `self.filetype` other than file"""
        for path in self.paths:
            for root, dnames, fnames in self._walker(path):
                yield from self._generator_rebase(dnames, root)
                yield from self._generator_rebase(fnames, root)