def _aggregate_wsgi_filename(filename):
    """
    The WSGI profiler outputs files like this:

        GET.root.000003ms.1543612537.prof

    For comparison in our plotter we want them to look like this:

        GET.root
    """
    return ".".join(filename.split(".")[:2])