def METHOD_NAME(filename: str, value: dict) -> Iterator[str]:
    for k, v in value.items():
        if k == filename:
            if isinstance(v, dict):
                assert "data:" in v["type"]
                yield k
            else:
                yield v
        elif isinstance(v, dict):
            yield from METHOD_NAME(filename, v)