code: def _example(file: str, id: str) -> Dict:
      import json
  
      with open(file, "r", encoding="utf-8") as f:
          while True:
              try:
                  line = f.readline().strip()
  
                  if line == "":
                      raise EOFError
  
                  d = json.loads(line)
                  if d["docid"] == id:
                      return d
              except EOFError:
                  raise RuntimeError(f"example {id} not found")
  
imports: import os
  from functools import lru_cache
  from typing import Dict
label_desc: Use image node_id 1 for calling a global function with example usage: _example(file, id) and returns: d