outputpath is nonlocalized