writePath