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")
writes the block to a file with the id