def development_predictionfile_to_predictionlist(filepath):
    """
    Parse prediction csv file.

    Parse prediction csv file to list.
    
    Parameters
    ----------
    filepath : path
        Path to prediction.

    Returns
    -------
    list_results_energies : list
        List of tuple (Energy, Prediction)
    """
    # Open, read and close file
    file = open(filepath)
    list_results = file.read().splitlines()
    file.close()
    # Get collision energies in prediction file
    list_energies = [item for item in list_results if 'energy' in item]+[''] 
    # Preallocate list
    list_results_energies = []
    # Cycle collision energies
    for index, energy in enumerate([item for item in list_energies if item]):
        start = list_results.index(list_energies[index])
        end = list_results.index(list_energies[index+1])
        list_hold = list_results[start+1:end]
        list_results_energies.append((energy, list_hold))
    return list_results_energies