code: def read_yaml(fixture_path, read_fixture_file):
      def read_or_store(filename, result):
          path = fixture_path(filename)
          if not exists(path):
              # Store the expected result for future if the fixture file is missing
              with open(path, "w") as f:
                  yaml.safe_dump(result, f)
          return yaml.safe_load(read_fixture_file(filename))
  
      return read_or_store
  
imports: import re
  import threading
  from datetime import datetime
  from functools import reduce
  from os import environ
  from os.path import abspath, dirname, exists, isfile, join
  import pytest
  import yaml
  from pytest_socket import disable_socket
  from vcr import VCR
  import sentinelsat
  from sentinelsat import SentinelAPI, geojson_to_wkt, read_geojson
  from .custom_serializer import BinaryContentSerializer
label_desc: Use image node_id 12 for calling a global function with example usage: read_yaml(fixture_path, read_fixture_file) and returns: read_or_store, yaml