final URI uri = URI.create("file:///").resolve(path);
final TreeWriter tree = new TreeWriter(runtime);
tree.startDocument(step.getNode().getBaseURI());
tree.addStartElement(c_directory);
tree.addAttribute(_name, getName(uri));
tree.addAttribute(XProcConstants.xml_base, uri.toASCIIString());
tree.startContent();
final DataStore store = runtime.getDataStore();
try {
store.listEachEntry(path, "file:///", "*/*", new DataInfo() {