code: def logStream(fileHandle, shortName, printFunction=logger.info):
      
      printFunction("Reporting file: %s" % shortName)
      line = fileHandle.readline()
      while line != '':
          if line[-1] == '\n':
              line = line[:-1]
          printFunction("%s:\t%s" % (shortName, line))
          line = fileHandle.readline()
      fileHandle.close()
docs: Writes out a formatted version of the given log stream.