public IFileHandle getFile(URI locationURI) { if (RSEEnvironmentProvider.RSE_SCHEME.equalsIgnoreCase(locationURI.getScheme()) && locationURI.getHost().equals(host.getAliasName())) { return new RSEFileHandle(this, locationURI); } else { final URI[] resolved = EnvironmentManager.resolve(locationURI); for (int i = 0; i < resolved.length; ++i) { final URI newLocation = resolved[i]; if (RSEEnvironmentProvider.RSE_SCHEME.equalsIgnoreCase(newLocation.getScheme()) && newLocation.getHost().equals(host.getAliasName())) { return new RSEFileHandle(this, newLocation); } } return null; } }