@Override
    public URL getURL() throws IOException {
        return (this.file != null ? this.file.toURI().toURL() : this.filePath.toUri().toURL());
    }
This implementation returns a URL for the underlying file.

see java.io.File#toURI()
analyzer/src/main/java/nl/basjes/parse/useragent/utils/springframework/core/io/FileSystemResource.java