def METHOD_NAME(metadata_file):
    metadata = load_json(tempdir / 'metadata.staged' / versioned(metadata_file))
    for filename, meta in metadata['signed']['meta'].items():
        version = meta['version']
        full_name = f'{version}.{filename}'
        versioned_metadata_files[filename] = full_name
        yield f'metadata.staged/{full_name}'