Added functions to print documents & filenames

Added a function to print the content of a document
Added a function to print the filename (on disk) of a document