code: def readFile():
      cwd = os.path.dirname(os.path.realpath(__file__))
      if "--config-file" in sys.argv and len(sys.argv) >= 3:
          fileName = cwd + "/../Runner/" + sys.argv[2]
      else:
          fileName = cwd + "/../Runner/config.yaml"
  
      if os.path.isfile(fileName):
          with open(fileName, "r") as stream:
              fileYaml = yaml.safe_load(stream)
      else:
          raise Exception("Error: " + fileName + " not exist")
  
      return fileYaml
  
imports: import os
  import sys
  import yaml
  from datetime import datetime
label_desc: Use image node_id 2 for calling a global function with example usage: readFile() and returns: fileYaml