InputStreamReader config = new InputStreamReader(getCluster().getConfigFinder().open(configFile));
InputStreamReader config = new InputStreamReader(getConfigFinder().open(configFile));
  protected void setupSubscriptions()   {    //System.out.println("LDMQueryPlugIn!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");    // first, initialize the global table with some basics     // set up the subscription    // This could be a future site for maintaining a Container of created    // LDMObjects for future updating.		    if (!didRehydrate())       {	// Objects should already exist after rehydration        try           {            // set up initial properties            initProperties();	              // deal with the arguments.            grokArguments();	              // MML commented out and changed logic to find an individual file            // instead of looking for files in a specified directory.            // Parse the configuration files.            //boolean filesFound = parseConfigFiles(queryFileDirectory);            //if (!filesFound)            //{            // there is a problem            //}	              try              {	        // Locate the .cfg file	        InputStreamReader config = new InputStreamReader(getCluster().getConfigFinder().open(configFile));		  	        parseConfigFile(config);	                   config.close();              } catch (Exception e)                {                           String message = e.getMessage();                  //System.out.println("Exception" + message);                  e.printStackTrace();                }	              // MML commented out and changed logic to find an individual file            // instead of looking for files in a specified directory.            // parse the query files and store properties in the appropriate            // queryhandlr.            //filesFound = parseQueryFiles(queryFileDirectory);            //if (!filesFound)            //{            //	     // there is a problem            //}            try              {	        InputStreamReader qs = new InputStreamReader(getCluster().getConfigFinder().open(queryFile));	 	        parseQueryFile(qs);                qs.close();              } catch (Exception e)                {                           String message = e.getMessage();                  System.err.println("Exception: " + message);                  e.printStackTrace();                }	              // sort the queryhandlers into categories.            grokQueries();                  }         catch (SubscriberException se)           {            System.err.println("Caught: "+se);          }      }// if statement  }// setupSubscriptions