Component of _generator_other()

def _generator_rebase(self, names, root):
        """Component of _generator_other()"""
        return (_fixpath(root, base) for base in names if
                isvalid(_fixpath(root, base), self.access,
                        self.extensions, self.filetype, self.minsize))