def __init__(self, name, filename=None):
        self.name = name
        super(NamedRequirements, self).__init__(filename=filename)
def matchfn(self, f):
        match = self._matcher
        return match(f) or any(map(match, util.dirs((f,))))