} else {
ff = new ExtensionFileFilter("xml,zip", "xml", tr("Map paint style file (*.xml, *.zip)"));
}
fcm.createFileChooser(false, null, Arrays.asList(ff, FileFilterAllFiles.getInstance()), ff, JFileChooser.FILES_ONLY)
.getFileChooser().setSelectedFile(new File(suggestion));
JFileChooser fc = fcm.openFileChooser();
if (fc == null)
return;
Main.worker.submit(new SaveToFileTask(s, fc.getSelectedFile()));
}