from pathlib import Path


def get_icon_path(file_path: str, icon_name: str):
    """
    Get path for icon file with icon name
    """
    ui_path = Path(file_path).parent
    icon_path = ui_path.joinpath("ico", icon_name)
    return str(icon_path)