docs: private void writeTermStatisticsToFile(UsageStatistics usageStatistics,
  			String fileName) {
  
  		// Make sure all keys are present in label count map:
  		for (String key : usageStatistics.aliasCounts.keySet()) {
  			countKey(usageStatistics.labelCounts, key, 0);
  		}
  		for (String key : usageStatistics.descriptionCounts.keySet()) {
  			countKey(usageStatistics.labelCounts, key, 0);
  		}
  
  		try (PrintStream out = new PrintStream(
  				ExampleHelpers.openExampleFileOuputStream(fileName))) {
  
  			out.println("Language,Labels,Descriptions,Aliases");
  			for (Entry<String, Integer> entry : usageStatistics.labelCounts
  					.entrySet()) {
  				countKey(usageStatistics.aliasCounts, entry.getKey(), 0);
  				int aCount = usageStatistics.aliasCounts.get(entry.getKey());
  				countKey(usageStatistics.descriptionCounts, entry.getKey(), 0);
  				int dCount = usageStatistics.descriptionCounts.get(entry
  						.getKey());
  				out.println(entry.getKey() + "," + entry.getValue() + ","
  						+ dCount + "," + aCount);
  			}
  		} catch (IOException e) {
  			e.printStackTrace();
  		}
  	}