indexing the uploaded document.
implement "list".