if(session.itemExists(absStoragePath)) {
final Item i = session.getItem(absStoragePath);
if(i.isNode()) {
storageRoot = (Node)i;
} else {
throw new WebloaderException("Item at " + storagePath + " is not a Node");
}
} else {
// TODO deep-create hierarchy if needed
storageRoot = session.getRootNode().addNode(storagePath);
session.save();