Add document upload, download function.