case PERSIST: {
String fileName = params.get( CoreAdminParams.FILE );
if (fileName != null) {
File file = new File(cores.getConfigFile().getParentFile(), fileName);
cores.persistFile(file);
rsp.add("saved", file.getAbsolutePath());
do_persist = false;
}
else if (!cores.isPersistent()) {
throw new SolrException (SolrException.ErrorCode.FORBIDDEN, "Persistence is not enabled");