InputStream inputStream = ConfigFileFinder.open(dfile);
InputStream inputStream = ConfigFinder.getInstance().open(dfile);
  protected Document getParsedDocument () {	  String debugParam = getStringParam ("debug");	  debug = (debugParam != null && "true".equals (debugParam));      String dfile = getFileName ();      DOMParser parser = new DOMParser();      try {	  InputStream inputStream = ConfigFileFinder.open(dfile);	  parser.setExpandEntityReferences(true);	  parser.setNodeExpansion(DOMParser.FULL); 	  parser.setAllowJavaEncodingName(true);	  parser.setEntityResolver (new UTILEntityResolver ());	  parser.parse(new InputSource (inputStream));      }      catch(Exception e){	  System.err.println(e.getMessage());	  e.printStackTrace();      }      return parser.getDocument();  }