public static boolean checkVersion(){
		File clientVersionFile = new File(Util.getWorkingDirectory() + File.separator + "version");
		if(clientVersionFile.exists()){
			URL serverVersionFile;
			try {
				serverVersionFile = new URL(Settings.versionFile);
				BufferedReader brServer = new BufferedReader(new InputStreamReader(serverVersionFile.openStream()));
				String serverVersion = brServer.readLine().trim();
				brServer.close();
				BufferedReader brClient = new BufferedReader(new FileReader(Util.getWorkingDirectory() + File.separator + "version"));
				String clientVersion = brClient.readLine().trim();
				brClient.close();
				if(clientVersion.equals(serverVersion)){
					return true;
				} else {
					return false;
				}	
			} catch (MalformedURLException e) {
				e.printStackTrace();
				return false;
			} catch (IOException e) {
				e.printStackTrace();
				return false;
			}
			
		} else {
			return false;
		}
		
	}