def __init__(self, name, filename=None):
        self.name = name
        super(NamedRequirements, self).__init__(filename=filename)
def visitdir(self, dir):
        if self(dir):
            return "all"
        return self._matcher.visitdir(dir)