try {
node = getResolvedNode(path.toString());
} catch(NameNotFoundException ex) {}
if(node == null)
throw new VFSException("File not found: " + path);
if(!(node instanceof Context))
throw new VFSException("File is not a directory");
try {
names = ((Context) node).listBindings("");
} catch(NotContextException ex) {
throw new VFSException("File is not a directory");
}
LinkedList ls = new LinkedList();
while(names.hasMore()) {
Binding binding = (Binding) names.next();