Element fileElem = elem.getChild("file");
if (fileElem == null)
throw new MissingElementException("file", elem);
File file = new File(fileElem.getText());
FileBasedInfoManager manager = new FileBasedInfoManager(file);
Element saveElem = elem.getChild("autoSave");
if (saveElem != null)
manager.setAutoSave(saveElem.getText().toLowerCase().equals("true"));
return manager;
}