private static void checkFileExists(final Path file) {
        if (!Files.isRegularFile(file)) {
            throw new RuntimeException(LogUtil.message("File '{}' does not exist",
                    file.toAbsolutePath().normalize()));
        }
    }
Utils to help with generating docs content for the stroom-docs repo from stroom code.
stroom-test-common/src/main/java/stroom/test/common/docs/StroomDocsUtil.java