def __init__(self, filename=None):
        self.filename = None
        if filename:
            self.load(filename)
def _roots(kindpats):
    """Returns root directories to match recursively from the given patterns."""
    roots, dirs = _patternrootsanddirs(kindpats)
    return roots