Enahnce the save function for the current file.