File f = new File(startAt.getSubNode(1, Node.TYPE_STRING).getString());
if (startAt.size() == 3) {
filefilter = new Private_FilenameFilter();
filefilter.setMaskList(startAt.getSubNode(2, Node.TYPE_CLIST));
}
Node res = Node.createCList();
File[] fl;
if (filefilter == null) {
fl = f.listFiles();
}
else {
fl = f.listFiles(filefilter);
}
for (int i = 0; i < fl.length; i++) {
res.addElement(new Node(fl[i].getName()));
}
return res;
}