private void closeWriter() throws IOException {
        if( fileStream != null ) {
            contentStream.append( "]}" );
            contentStream.flush();
            ResourceUtil.close( contentStream );
            String base64String = BaseEncoding.base64().encode( byteStream.toByteArray() );
            this.fileStream.append("'").append(base64String).append("'");
            this.fileStream.append( ");" );
            fileStream.flush();
            ResourceUtil.close( fileStream );
            fileStream = null;
            log.info( "Written " + caseCountOfCurrentBatch + " scenarios to " + metaData.data.get( metaData.data.size() - 1 ) );
        }
    }
Deletes all steps of scenario cases where a data table
is generated to reduce the size of the data file. 
In this case only the steps of the first scenario case are actually needed.
jgiven-html5-report/src/main/java/com/tngtech/jgiven/report/html5/Html5ReportGenerator.java