if you are just using it in memory there is no need to set the document name