@Override
    public File getFile() {
        return (this.file != null ? this.file : this.filePath.toFile());
    }
This implementation returns the underlying File reference.
analyzer/src/main/java/nl/basjes/parse/useragent/utils/springframework/core/io/FileSystemResource.java