Added the ability to save the editor content to a path.