def METHOD_NAME(functions):
    """Removes functions which we do not want in our extracted files.
    Returns a new dictionary with filtered functions.
    """
    return {
        func: func_info for func,
        func_info in functions.items() if is_wanted(func_info)
    }