code: private InputStream asInputStream() {
          InputStream inputStream = classLoader.getResourceAsStream(path);
          if (inputStream == null) {
              throw new RuntimeException("File '" + path + "' was not found.");
          }
          return inputStream;
      }
docs: Returns an {@link InputStream} to read from the file.
  
  @return {@link InputStream} to read from the file