protected void save(String filename, Map<String, Set<String>> tagTokens) { try { DataOutputStream out = IOUtils.getDataOutputStream(filename); save(out, tagTokens); out.close(); } catch (IOException e) { throw new RuntimeIOException(e); } }