if (child == null) {
children.put(name, child = new Node(name));
}
child.resources.add(
new Resource(file.toURI().toURL(),
new InputStreamFactory() {
public InputStream open() throws IOException {
return new FileInputStream(file);
}
}, file.lastModified()
)