private static InputStream openStream(ClassLoader classLoader, String path) {
        InputStream is = classLoader.getResourceAsStream(path);
        if (is == null) {
            throw new IllegalArgumentException("Cannot find classpath resource at " + path);
        }
        return is;
    }
Returns resource's contents as a string at the specified path by the specified classloader.
The path should point directly to the resource at the classpath. The classloader should have
access to the resource.

@param classLoader the classloader which loads the resource
@param path the resource path
@return the resource's contents
@see ClassLoader#getResource(String)
core/src/main/java/org/jdbi/v3/core/locator/ClasspathSqlLocator.java