code: def grepValue(fn, variable):
      """
      Return the unquoted value of a variable from a file..
      QUOTED_VALUE='quotes'    -> str('quotes')
      UNQUOTED_VALUE=noquotes  -> str('noquotes')
      """
      variable = variable + "="
      for ln in open(fn, "r"):
          if ln.startswith(variable):
              value = ln[len(variable) :].strip()
              return value.strip("\"'")
      raise RuntimeError("Cannot find variable %s" % variable[:-1])
  
imports: import platform, os, sys, getopt, textwrap, shutil, stat, time, pwd, grp
label_desc: Use image node_id 2 for calling a global function with example usage: grepValue(fn, variable) and returns: value