def delete_file(file_name):

    if os.path.exists(file_name):
        reply = raw_input(file_name % "Delete file %s? [y/[n]] ")
        if reply == 'y':
            os.remove(file_name)
        else:
            print("Aborting...")
            sys.exit()
dataset/ETHPy150Open hyperion-rt/hyperion/hyperion/util/functions.py/delete_file/swapped operands of `%`