public static File showOpenDialog(String title) {
		final ExtensionFileFilter filter = new ExtensionFileFilter();
		JFileChooser Open = new JFileChooser();
		if (title.compareTo("Importer") == 0) {
			filter.setDescription(Tools.getLocalizedString("FILE_TYPE_TXT"));
			filter.addExtension(".txt");
			Open.setFileFilter(filter);
			Open.setDialogTitle(Tools.getLocalizedString(ActionType.IMPORT
					.name() + ".Name"));
		}

		else {
			filter.setDescription(Tools.getLocalizedString("FILE_TYPE_KS"));
			filter.addExtension(".ks");
			Open.setFileFilter(filter);
			Open.setDialogTitle(title);
		}
		Open.setFileSelectionMode(JFileChooser.FILES_ONLY);
		JFrame frame = new JFrame();
		frame.setIconImage(Program.programIcon);
		File file = null;
		int result = Open.showOpenDialog(frame);

		if (result == JFileChooser.APPROVE_OPTION) {

			try {
				file = Open.getSelectedFile();

			} catch (Exception err) {
				System.err.println(err.getMessage());
			}

		}
		return file;
	}