public boolean listChildren(String dest, boolean detail) {
		FSElement e;
		if (dest == null || dest.isEmpty())
			e = current;
		else
			e = getPathDir(dest);
		if (e == null)
			return false;
		if (e.isLeaf())
			System.out.println((detail)?e.getInfo():e.getName());
		else {
			ArrayList<FSElement> children = ((Directory) e).getChildren();
			for (FSElement child:children) {
				if (detail)
					System.out.println(child.getInfo());
				else
					System.out.print(child.getName()+" ");
			}
			if (!detail && !children.isEmpty())
				System.out.println();
		}
		return true;
	}