def METHOD_NAME(file_stat, value, file_name):
    if ((file_stat['eq'] == 'gt' and value > file_stat['value']) or
            (file_stat['eq'] == 'lt' and value < file_stat['value'])):
        file_stat['value'] = value
        file_stat['filename'] = file_name