code: public static InputStream fileAsStream(File file) {
      try {
        return new BufferedInputStream(new FileInputStream(file));
      } catch(FileNotFoundException e) {
        throw LOG.fileNotFoundException(file.getAbsolutePath(), e);
      }
    }
docs: Returns the input stream of a file.
  
  @param file the {@link File} to load
  @return the file content as input stream
  @throws IoUtilException if the file cannot be loaded