public String[] loadPropertiesFromFile(String localPath)
	    throws InvalidPropertiesFormatException, FileNotFoundException,
	    IOException {
		Properties file = new Properties();
		file.loadFromXML(new FileInputStream(new File(localPath)));
		if (file.getProperty("version") != null) {
			try {
				String newVersion = file.getProperty("version");
				String filePath = file.getProperty("remoteFilePath");
				double nV = Double.valueOf(newVersion);
				double aV = Double.valueOf(Core.version);
				if (nV > aV) {
					remoteFilePath = file.getProperty("remoteFilePath");
					new File(localPath).delete();
					String[] c = { newVersion, filePath };
					return (c);
				}
			} catch (Exception e) {
				return new String[0];
			}
		}
		return new String[0];
	}