It downloads any file (since it has permission) from server using portlet serveResource phase.
Commons-IO from apache is needed for this project. Since commons-io it is not OSGi readable, it is required to deploy the following common-io version on your server before deploying the portlet:
reference: https://download.eclipse.org/tools/orbit/downloads/drops/R20170919201930/