Added possible to create new document from uploaded file.