code: public static String fileAsString(File file) {
      try {
        return inputStreamAsString(new FileInputStream(file));
      } catch(FileNotFoundException e) {
        throw LOG.fileNotFoundException(file.getAbsolutePath(), e);
      }
    }
docs: Returns the content of a {@link File}.
  
  @param file the file to load
  @return Content of the file as {@link String}