private void configure()  throws IOException {
		//Load the properties file
		Properties properties = new Properties();
		// Read the properties file
		properties.load(this.getClass().getResourceAsStream("/com/opendap/poc/ServerContentDownloader.properties"));

		useProxy = Boolean.parseBoolean(properties.getProperty("UseProxy"));
		if(useProxy){
			// Read the Proxy Host
			proxyHost = properties.getProperty("ProxyHost");
			System.out.println("ProxyHost : " + proxyHost);
			if(null == proxyHost || proxyHost.trim().length() < 1){
				proxyHost = defaultProxyHost;
				System.out.println("Using DefaultProxyHost : " + proxyHost);
			}
			// Read the Proxy Port
			proxyPort = properties.getProperty("ProxyPort");
			System.out.println("\nProxyPort : " + proxyPort);
			if(null == proxyPort || proxyPort.trim().length() < 1){
				proxyPort = defaultProxyPort;
				System.out.println("Using DefaultProxyPort : " + proxyPort);
			}
		}
		// Read the HTTP URL
		servletURLPattern_rainfall = properties.getProperty("servletURLPattern_rainfall");
		System.out.println("servletURLPattern : " + servletURLPattern_rainfall);
		servletURLPattern_soil = properties.getProperty("servletURLPattern_soil");
		System.out.println("servletURLPattern : " + servletURLPattern_soil);
		servletURLPattern_Tmax = properties.getProperty("servletURLPattern_Tmax");
		System.out.println("servletURLPattern : " + servletURLPattern_Tmax);
		servletURLPattern_Coordinates = properties.getProperty("servletURLPattern_Coordinates");
		System.out.println("servletURLPattern : " + servletURLPattern_Coordinates);
		servletURLPattern_Tmin = properties.getProperty("servletURLPattern_Tmin");
		System.out.println("servletURLPattern : " + servletURLPattern_Tmin);
		servletURLPattern_GCM = properties.getProperty("servletURLPattern_GCM");
		System.out.println("servletURLPattern : " + servletURLPattern_GCM);
		servletURLPattern_TmaxAvgNR = properties.getProperty("servletURLPattern_TmaxAvgNR");
		System.out.println("servletURLPattern: " + servletURLPattern_TmaxAvgNR);
		servletURLPattern_TmaxAvgR = properties.getProperty("servletURLPattern_TmaxAvgR");
		System.out.println("servletURLPattern: " + servletURLPattern_TmaxAvgR);
		servletURLPattern_TminAvgNR = properties.getProperty("servletURLPattern_TminAvgNR");
		System.out.println("servletURLPattern: " + servletURLPattern_TminAvgNR);
		servletURLPattern_TminAvgR = properties.getProperty("servletURLPattern_TminAvgR");
		System.out.println("servletURLPattern: " + servletURLPattern_TminAvgR);
		servletURLPattern_SRadNR = properties.getProperty("servletURLPattern_SRadNR");
		System.out.println("servletURLPattern: " + servletURLPattern_SRadNR);
		servletURLPattern_SRadR = properties.getProperty("servletURLPattern_SRadR");
		System.out.println("servletURLPattern: " + servletURLPattern_SRadR);
		

		//Read folder name
		folder = properties.getProperty("folder");
		System.out.println("Folder : " + folder);
		System.out.println("\n************************************************\n");

	}