Implement the PathWriter