allow specifying a document name (title)