code: public static String readResource(String path) {
          try {
              File file = ResourceUtil.getResourceFile(path);
              return ResourceUtil.readFromFileIntoString(file);
          } catch (Exception e) {
              throw new DataUtilException("Failed to load resource", e);
          }
      }
docs: This method looks for a file on the provided path and returns it as a string
  @param path path
  @return {@code String} text