Creates a document with the specific name, suffix, type and content.
Returns the newly created document as info object.