Write to resloved path