code: @Override
      public InputStream render(Context context, Result result) throws RenderableException {
          try {
              return FileUtils.openInputStream(file);
          } catch (IOException e) {
              throw new RenderableException("Cannot read file " + file.getAbsolutePath(), e);
          }
      }
docs: Renders the file. If just returns an empty stream on the served file.
  
  @param context the HTTP context
  @param result  the result having built this renderable object
  @return the input stream. Be aware that the stream may be blocking.
  @throws RenderableException if the file cannot be read.