def concat_info_file(msg, time='', error='', error_line='', error_name=''):
    """ This will append time and error to the message for the file log """
    time = str(time).replace('.', ',') if time else ''
    msg = f'{msg};{time};{error_name};{error};{error_line}'
    while msg[-1] == ';':
        msg = msg[:-1]
    return msg
