import random


def generate_file_name(original_file_name):
    """
    Generate a fancy filename for uploaded files
    :param original_file_name:
    :return: generated_file_name
    """
    return original_file_name.split(".")[0] + "_" + str(random.randint(10000, 99999)) + "." + \
           original_file_name.split(".")[1]