def form_new_coin_data(comment, last_update):
    """Forms a coin data dictionary from existing file.

    Args:
        comment (str): info comment written in coin CSV file
        last_update (list) : latest date and hour received from 
                             downloaded coin data

    Raises:
        ValueError: occurs if info comment read from coin file is
                    in different format than expected

    Returns:
        coin_data (dict): coin data for object creation
    """
    data = comment.split(' ')
    if not len(data) == 8:
        raise ValueError(
            f'Csv file of {data[0]} found in the exchanage folder.\n'
            'However the file name was not in correct format!\n\n')
    return {'Name': data[0],
            'Quote': data[1],
            'Base': data[2],
            'StartDate': data[3],
            'StartHour': data[4],
            'EndDate': data[5],
            'EndHour': data[6],
            'Frequency': data[7],
            'LastUpdate': last_update}