void run(String fileName) {
		try {
			in = new BufferedReader(new FileReader(fileName));
			out = new PrintWriter(FILE_NAME + ".out");
			solution();
		} catch (IOException e) {
			out.println("Can not open file");
		
		} catch (WrongDataInFileException e) {
			out.println("Wrong data");
		
		} finally {
			try {
				in.close();
			} catch (IOException e) {
				System.out.println("Error in closing file");
			
			} finally {
				if (!out.checkError()) {
					out.close();
				} else {
					System.out.println("Error in closing file");
				}
			}
		}

	}