Integrate file upload with document repository