FileInputStream is = null; try { is = new FileInputStream(modelFile); return buildModel(is);  } catch (IOException e) { throw new RuntimeException("Cannot parse model definitions file " + modelFile.getPath(), e); } finally { IOUtils.closeQuietly(is); }
return buildModel(modelFile, null);
    public SettingSet buildModel(File modelFile) {        FileInputStream is = null;        try {            is = new FileInputStream(modelFile);            return buildModel(is);        } catch (IOException e) {            throw new RuntimeException("Cannot parse model definitions file "                    + modelFile.getPath(), e);        } finally {            IOUtils.closeQuietly(is);        }    }