code: private InputStream getDownloadedFile(String response) throws FMSException {
  		if (response != null) {
  			try {
  				URL url = new URL(response);
  				return url.openStream();
  			} catch (Exception e) {
  				throw new FMSException("Exception while downloading the file from URL.", e);
  			}
  		}
  		
  		return null;
  	}
docs: Method to get the input stream from the download URL returned from service
  
  @param response the download URL string
  @return InputStream the downloaded file
  @throws FMSException