private File save(IEditor e) {
File file = null;
try {
FileHandler fileHandler = getFileHandler(e);
file = fileHandler.save(e.getText(), this, (String) e.getData("filename"));
if (file != null) {
e.setData("filename", fileHandler.getCurrentFile().getName());
e.setDirty(false);
if (isModuleFile()) {
scriptModel.fileUpdated(file, SCRIPT_FILE_TYPE.MODULE);