def close_FIN():
    # closes the global input stream fin.
    # IOError should only happen during debugging or if something has seriously gone wrong
    # with the system, so exit if this occurs.
    global FIN
    try:
        FIN.close()
    except __HOLE__:
        print("\aError: Could not close the input file")
        print("Terminating program")
        sys.exit()
dataset/ETHPy150Open openeventdata/petrarch/petrarch/PETRreader.py/close_FIN