Adding a new document to the library