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