public String getResultsFile(int jobNo, String jobPass) {
		if (server == null)
			return "";
		String result = "";

		Vector params = new Vector();
		params.add(jobNo);
		params.add(jobPass);

		// Wait until job is done
		try {
			Object ret;

			String neosStatus = "";
			while (!neosStatus.equals("Done")) {
				neosStatus = (String) server.execute("getJobStatus", params);
				Thread.sleep(10);
			}

			// Add file name that we want to get
			params.add("results.txt");

			ret = server.execute("getOutputFile", params);

			if (ret instanceof String) {
				result = (String) ret;
			} else if (ret instanceof byte[]) {
				result = (new String((byte[]) ret));

			}

		} catch (XmlRpcException e) {
			System.err.println("Error submitting job\n" + e.getMessage());

		} catch (InterruptedException e) {
			System.err.println("User interrupted \n" + e.getMessage());

		}

		if (result.equals("Output file not exists"))
			result = "";

		return result;

	}