def __init__(self, name, filename=None):
        self.name = name
        super(NamedRequirements, self).__init__(filename=filename)
def matchfn(self, f):
        return bool(self.m1(f)) ^ bool(self.m2(f))