code: def __load(fh, mode=MODE_AUTO):
          
          header = fh.read(Stl.HEADER_SIZE).lower()
          name = ""
          data = None
          if not header.strip():
              return
  
          if mode in (Stl.MODE_AUTO, Stl.MODE_ASCII) and header.startswith('solid'):
              try:
                  name = header.split('\n', 1)[0][:5].strip()
                  data = Stl.__load_ascii(fh, header)
                  mode = Stl.MODE_ASCII
  
              except:
                  pass
  
          else:
              data = Stl.__load_binary(fh)
              mode = Stl.MODE_BINARY
  
          return name, data, mode
docs: Load Mesh from STL file
  
          :param FileIO fh: The file handle to open
          :param int mode: The mode to open, default is :py:data:`AUTOMATIC`.
          :return: