def METHOD_NAME(bdf, output):
    '''open the mock tar file, and add the configured trees to it'''
    with tarfile.open(output, 'w|gz') as tar:
        for path in mock_paths:
            for p in glob.glob(path.format(bdf=bdf)):
                add_tree(tar, Path(p))