def METHOD_NAME(func: Callable, outfile_prefix: str) -> Callable:
    """A decorator for convenience of running.
    Args:
        func:
            function to track the maximum memory of.
        outfile_prefix:
            Prefix for the generated output. 2 files will
            be generated: \\*_SNAPSHOT and \\*_MAX_TRACKER.
    Returns:
        The wrapper
    """
    def wrapper(*args, **kwargs):
        thread, queue = memory_profile_start(outfile_prefix)
        results = func(*args, **kwargs)
        memory_profile_end(queue, thread)
        return results
    return wrapper