code: def _LoadResource(path):
      """Load the resource at given path.
  
      Args:
        path: a string resource path.
  
      Returns:
        The contents of that resource.
  
      Raises:
        ValueError: If the path is not set up correctly.
        IOError: If the path is not found, or the resource can't be opened.
      """
  
      try:
          with open(path, "rb") as f:
              return f.read()
      except IOError as e:
          logging.warning("IOError %s on path %s", e, path)
          raise e
  
file_path: lit/lit_nlp/lib/wsgi_app.py
imports: import mimetypes
  import os
  import time
  import traceback
  import wsgiref.handlers
  from absl import logging
  import six
  from six.moves.urllib.parse import urlparse
  from werkzeug import wrappers
label_desc: Use image node_id 1 for calling a global function with example usage: _LoadResource(path) and returns: f