def read(fname):
    return open(os.path.join(os.path.dirname(__file__), fname)).read()
def _roots(kindpats):
    """Returns root directories to match recursively from the given patterns."""
    roots, dirs = _patternrootsanddirs(kindpats)
    return roots