returns name of document for debugging