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