public void init(File jsonFile) throws StorageException { try { JsonConfig config = new JsonConfig(jsonFile); homeDir = new File(config.get("storage/file-system/home", DEFAULT_HOME_DIR)); if (!homeDir.exists()) { homeDir.mkdirs(); } } catch (IOException ioe) { throw new StorageException(ioe); } }