public File getFile() {
        return file;
    }
Gets the entity content as a {@link File} if set using
{@link #setFile(java.io.File)}.

@return Gets the entity content as a {@link File}.
httpclient5/src/main/java/org/apache/hc/client5/http/entity/EntityBuilder.java