write out path name