code: def load_stream(handle, delimiter=None):
      
      delimiter = (delimiter or "") + "\n"
      while True:
          item = []
          while True:
              line = handle.readline()
              if line == "":
                  raise StopIteration
              elif line == delimiter:
                  if item:
                      break
              elif line != '\n':
                  item.append(line)
  
          yield "".join(item)
docs: Creates a string generator from a stream (file handle) containing data 
      delimited by the delimiter strings. This is a stand-alone function and 
      should be used to feed external data into a pipeline.
  
      Arguments:
  
        - hande(``file``) A file handle open for reading.
        - delimiter(``str``) [default: ``None``] The default means that items will
          be separated by two new-line characters i.e.: ``"\\n\\n"``.