}
public Directory dir(String path) {
String[] pathElements = path.split("/");
String name = "";
Directory dirTask = null;
for (String pathElement : pathElements) {
name += name.length() != 0 ? "/" + pathElement : pathElement;
Task task = taskContainer.findByName(name);
if (task instanceof Directory) {
dirTask = (Directory) task;