path changed for write.json