def init_loop_state(file_counter=0):
    """
    Initialize the file row counter, the file counter,
    and the list representing file data.
    Janky, I know, but this needed to be done in 2 spots.
    """
    file_row_counter = 0
    file_counter += 1

    file_data = []
    file_data.append([
        'Date',
        'Weight (lb)',
        'Fat mass (lb)'
    ])

    return (file_row_counter, file_counter, file_data)