code: def load_key(filename):
      """
      Load the key from the given file.
  
      Parameters
      ----------
      filename : str or file handle
          File to read key information from.
  
      Returns
      -------
      str
          Key.
  
      """
      with open_file(filename) as f:
          return f.read().strip()
  
imports: from __future__ import absolute_import, division, print_function
  import contextlib
  import io
  import numpy
  from .audio import load_audio_file
  from .midi import load_midi, write_midi
  from ..utils import suppress_warnings, string_types
label_desc: Use image node_id 12 for calling a global function with example usage: load_key(filename) and returns: f