if(log.isDebugEnabled()) { log.debug("File: " + filename + " parse success"); }
  public static ComponentDescription[] parseFile(String filename) {    ComponentDescription[] desc = null;    String containerInsertionPoint = "";    Logger log =      CSMART.createLogger("org.cougaar.tools.csmart.core.cdata.ComponentConnector");    if(!filename.endsWith(".ini")) {      filename = filename + ".ini";    }    if(log.isDebugEnabled()) {      log.debug("Parsing File: " + filename);    }    try {      InputStream in = ConfigFinder.getInstance().open(filename);      try {         desc = INIParser.parse(in, containerInsertionPoint);      } finally {        in.close();      }    } catch( Exception e) {      if(log.isErrorEnabled()) {        log.error("Caught an error reading file", e);      }    }    if(log.isDebugEnabled()) {      log.debug("File: " + filename + " parse success");    }    return desc;  }