docs: public boolean getLotDownload(int id, File directory) {
          ClientResource resource = new ClientResource(Route.DOWNLOAD_LOT.url(id));
          resource.setChallengeResponse(this.auth.toChallenge());
  
          try {
              Representation repr = resource.get(MediaType.APPLICATION_ZIP);
              Disposition disposition = repr.getDisposition();
  
              File file = new File(directory, disposition.getFilename());
              FileOutputStream fos = new FileOutputStream(file);
              repr.write(fos);
  
              // Flush remaining buffer to output and close the stream
              fos.flush();
              fos.close();
  
              return true;
          } catch (IOException ex) {
              LEX4JLogger.log(Level.WARNING, "Could not write download to the FileOutputStream!");
              return false;
          }
      }