Refactor #content, #path, and #file out of Document