// /files/<<endpointName>>/<<serviceType>>/fileName?args
String pathinfo = request.getPathInfo().substring(request.getPathInfo().indexOf("/files"));
String[] pathTokens = pathinfo.split("/");
if (pathTokens.length > 4) {
String serviceType = pathTokens[3];
Application application = Application.get();
// ProxyEndpointServiceProvider.PROXY_SERVICE_TYPE is the extension ID
List<Object> proxyServiceProviders = application.findServices(ProxyEndpointServiceProvider.PROXY_SERVICE_TYPE);
if(proxyServiceProviders != null && !proxyServiceProviders.isEmpty()){
for(Object o : proxyServiceProviders){
ProxyEndpointServiceProvider pvdr = (ProxyEndpointServiceProvider)o;
proxyEndpointService = pvdr.createProxyEndpointService(serviceType);
if(proxyEndpointService != null){