code: def _writeBlock(block, blockID):
      '''writes the block to a file with the id'''
      with open("blockIDs.txt", "a") as fp:
          fp.write("blockID: " + str(blockID) + "\n")
          sentences = ""
          for sentence in block:
              sentences += sentence+","
          fp.write("block sentences: "+sentences[:-1]+"\n")
          fp.write("\n"f _writeBlock(block, blockID):
      '''writes the block to a file with the id'''
      with open("blockIDs.txt", "a") as fp:
          fp.write("blockID: " + str(blockID) + "\n")
          sentences = ""
          for sentence in block:
              sentences += sentence+","
          fp.write("block sentences: "+sentences[:-1]+"\n")
          fp.write("\n")
docs: writes the block to a file with the id