This sample enables creation of a new document and an associated uploaded file.
It adds the document to the specified library and doctype.
It allows for user input of keywords and description, and builds a category
index using the uploaded file name.