def _aggregate_profiler_filename(filename):
    """
    The Profiler class outputs files names like this:

        cdispyutils.profiling.vis._aggregate_profiler_filename-1.prof

    For the plotter we want to keep only this part for the names:

        cdispyutils.profiling.vis._aggregate_profiler_filename
    """
    return filename.split("-")[0]