def METHOD_NAME(xml_preset_name):
    def _search_path(root):
        output = []
        for root, _dirs, files in os.walk(root):
            for f in files:
                if f != xml_preset_name:
                    continue
                file_path = os.path.join(root, f)
                output.append(file_path)
        return output
    def _validate_results(results):
        if results and len(results) == 1:
            return results.pop()
        elif results and len(results) > 1:
            print((
                "More matching presets for `{}`: /n"
                "{}").format(xml_preset_name, results))
            return results.pop()
        else:
            return None
    from .utils import (
        get_flame_install_root,
        get_flame_version
    )
    # get actual flame version and install path
    _version = get_flame_version()["full"]
    _install_root = get_flame_install_root()
    # search path templates
    shared_search_root = "{install_root}/shared/export/presets"
    install_search_root = (
        "{install_root}/presets/{version}/export/presets/flame")
    # fill templates
    shared_search_root = shared_search_root.format(
        install_root=_install_root
    )
    install_search_root = install_search_root.format(
        install_root=_install_root,
        version=_version
    )
    # get search results
    shared_results = _search_path(shared_search_root)
    installed_results = _search_path(install_search_root)
    # first try to return shared results
    shared_preset_path = _validate_results(shared_results)
    if shared_preset_path:
        return os.path.dirname(shared_preset_path)
    # then try installed results
    installed_preset_path = _validate_results(installed_results)
    if installed_preset_path:
        return os.path.dirname(installed_preset_path)
    # if nothing found then return False
    return False