Implemented uploading of new documents