code: def read(path, onlyHeader=False):
      """reads any Type 1 font file, returns raw data"""
      _, ext = os.path.splitext(path)
      ext = ext.lower()
      creator, typ = getMacCreatorAndType(path)
      if typ == "LWFN":
          return readLWFN(path, onlyHeader), "LWFN"
      if ext == ".pfb":
          return readPFB(path, onlyHeader), "PFB"
      else:
          return readOther(path), "OTHER"
  
imports: import fontTools
  from fontTools.misc import eexec
  from fontTools.misc.macCreatorType import getMacCreatorAndType
  from fontTools.misc.textTools import bytechr, byteord, bytesjoin, tobytes
  from fontTools.misc.psOperators import _type1_pre_eexec_order, _type1_fontinfo_order, _type1_post_eexec_order
  from fontTools.encodings.StandardEncoding import StandardEncoding
  import os
  import re
label_desc: Use image node_id 1 for calling a global function with example usage: read(path, onlyHeader) and returns: readLWFN,  str, readPFB,  str, readOther,  str