private static String readText(Path file) {
          try {
            return readString(file, UTF_8);
          } catch (IOException e) {
            throw new RuntimeException(e);
          }
        }
Read and return the text of the given file, reraising {@code IOException}s as {@code RuntimeException}s
and assuming all files are UTF-8 encoded.

@param file The file to read the text from
@return The text of the given file
build-logic/asciidoc-extensions/src/main/java/org/spockframework/plugins/asciidoctor/IncludedSourceLinker.java