Completed namespace/document referencing.
docName now has folder.subfolder.filename format.