public void loadFromFile() {
		if (!fileExists())
			return; // Exit if file doesn't exist
		RmiData o = null;
		try {
			FileInputStream fileIn = new FileInputStream(FILE);
			ObjectInputStream in = new ObjectInputStream(fileIn);
			o = (RmiData) in.readObject();
			in.close();
			fileIn.close();
		} catch (IOException | ClassNotFoundException e) {
			e.printStackTrace();
		}

		this.setLoginResult(o.getLoginResult());
		this.setContestants(o.getContestants());
		this.setLanguages(o.getLanguages());
		this.setProblems(o.getProblems());
		this.setSubmissions(o.getSubmissions());
		this.setTimeLeft(o.getTimeLeft());
		this.setContestRunning(o.getContestRunning());
	}