def _do_thing(fn, min_param = 0, success_message = ''):
    if len(sys.argv) == 3 and min_param > 1:
        file_name = sys.argv[2]
        if os.path.isfile(file_name):
            # read content of file as 1 line
            content = ' '.join(open(file_name, 'r').readlines())
            # remove multiple spaces
            content = ' '.join(content.split())
            # split it again
            args = content.split(' ')
        else:
            print (Fore.RED + ' * ERROR: File \''+ file_name +'\' not found' + Fore.RESET)
            return False
    elif 2 + min_param >= len(sys.argv):
        args = sys.argv[2 :]
    else:
        info()
        return False
    fn(*args)
    if success_message != '':
        print (Fore.MAGENTA + ' * ' +success_message + Fore.RESET)
dataset/ETHPy150Open goFrendiAsgard/kokoropy/rossian.py/_do_thing/swapped operands of `>=`