class FileUtils {

    public static Path fromRelativeClassPath(String relativePath, ClassLoader cl) {
        relativePath = removePrefix(relativePath);
        URL url = cl.getResource(relativePath);
        if (url == null) {
            throw new RuntimeException("file does not exist: " + relativePath);
        }
        return urlToPath(url, relativePath);
    }

    private  FileUtils();

}