public void savingXmlFileAfterSearchingForDataOrSpecialChars() {

		try {

			int rVal = chooserForWritingLogFile.showSaveDialog(null);
			if (rVal == JFileChooser.APPROVE_OPTION) {
				fileForSavingTheEndResult = chooserForWritingLogFile.getSelectedFile();
				// DirName =
				// fileAfter.getCanonicalPath().substring(0,file.getCanonicalPath().lastIndexOf(File.separator));
				PathOfFileOfSave = fileForSavingTheEndResult.getAbsolutePath();
				// file.getCanonicalPath()
			}
			if (rVal == JFileChooser.CANCEL_OPTION) {

				fileForSavingTheEndResult = null;
			}
		} catch (Exception e) {

			e.printStackTrace();
		}
	}