public static File[] save(Saveable saveable) {
		if (saveable == null) {
			return new File[0];
		}
		File file = saveable.getBackingFile();
		if (file != null) {
			File[] files = saveable.saveTo(file);
			for (File one : files) {
				RecentFilesMenu.addRecent(one);
			}
			return files;

		}
		return SaveAsCommand.saveAs(saveable);
	}