filename = config.getAttribute(FILENAME, DEFAULT_FILENAME);
FileOutputStream fos = new FileOutputStream(filename, true);
BufferedOutputStream bos = new BufferedOutputStream(fos, BUFFER_SIZE);
ps = new PrintStream(bos);
Configuration itemsCfg = config.getChild(ITEMS);
if ( itemsCfg != null ) {
final List lst = new ArrayList();
itemsCfg.processChildren(ITEM, new ConfigurationCallback() {
public void process(Configuration cfg) {
String type = cfg.getAttribute(TYPE);
String name = cfg.getAttribute(NAME);
if ( type.equals(PATH) )
lst.add(new ItemInfo(TYPE_PATH));