class FileZipper {

    public void createZipWithFiles(final List<List<String>> filePaths, final OutputStream result) {
        ZipOutputStream zipStream = zipOutputStreamFactory.createZipOutputStream(result);
        zipFiles(filePaths, zipStream);
        closeZipStream(zipStream);
    }

}