from datetime import datetime


def name_current_file(input_name):

    """
    Generate the output Current.xlsx name for permanent archival

    :param input_name: input file name (e.g. Current.xlsx)
    :type input_name: str|unicode

    :return: output formatted name
    :rtype: str|unicode
    """

    dt = datetime.now()
    dt = dt.strftime("_%Y-%m-%d_%I:%M:%S")
    input_split = input_name.split('.')
    input_split[0] += dt

    return '.'.join(input_split)