Invenio-Files-REST is on PyPI so all you need is:
$ pip install invenio-files-rest
Files download/upload REST API similar to S3 for Invenio.