@Override
    public File getFile() throws IOException {
        URL url = getURL();
        return ResourceUtils.getFile(url, getDescription());
    }
This implementation returns a File reference for the underlying class path
resource, provided that it refers to a file in the file system.
src/main/java/spark/resource/AbstractFileResolvingResource.java