fin = new FileInputStream( summaryFile );
mergedSummary = new FailsafeSummaryXpp3Reader().read(
new InputStreamReader( new BufferedInputStream( fin ), getEncodingOrDefault() ) );
mergedSummary.merge( summary );
}
fout = new FileOutputStream( summaryFile );
BufferedOutputStream bufferedOutputStream = new BufferedOutputStream( fout );
Writer writer = new OutputStreamWriter( bufferedOutputStream, getEncodingOrDefault() );