props.load(new FileInputStream(file));
InputStream is = new FileInputStream(file); props.load(is); is.close();
  protected static Properties getUserProperties(Log log, String file)     throws  FileNotFoundException,            IOException  {    Properties props = new Properties();    if (file != null) {      log.debug("loading user-specified properties: " + file);      props.load(new FileInputStream(file));    }     return props;  } // protected static Properties getUserProperties(log, file)