path  needs / in front in write persistant dir