code: public InputStream getAsStream() throws CacheException {
  		File file = null;
  		try {
  			File directory = new File(System.getProperty("java.library.path"));
  			file = new File(directory, filename);
  			if(file.exists() && file.isFile()) {
  				return new FileInputStream(file);
  			}
  		} catch(IOException e) {
  			logger.error("file '{}' does not exist on classpath or is not a file", filename);
  			throw new CacheException("File " + filename + " does not exist on classpath or is not a regular file", e);			
  		}
  		return null;
  	}
docs: Returns the file as a stream.