CORE-4919: Added the path field to all file and directory maps. Modified
the id for the root listings to prepend /root.
CORE-4919: Removed a bunch of unneeded code. Simplified things quite a
bit.