create plugin to save files. svg-editor now runs this plugin. receiving and saving is handled in php