code: @Override
  	protected StringBuffer doPostProcessBundle(BundleProcessingStatus status, StringBuffer bundleData)
  			throws IOException {
  
  		JoinableResourceBundle bundle = status.getCurrentBundle();
  		Charset charset = status.getJawrConfig().getResourceCharset();
  		if (bundle.getLicensesPathList().isEmpty())
  			return bundleData;
  
  		ByteArrayOutputStream baOs = new ByteArrayOutputStream();
  		WritableByteChannel wrChannel = Channels.newChannel(baOs);
  		Writer writer = Channels.newWriter(wrChannel, charset.name());
  		try (BufferedWriter bwriter = new BufferedWriter(writer)) {
  			for (Iterator<String> it = bundle.getLicensesPathList().iterator(); it.hasNext();) {
  				String path = it.next();
  				if (LOGGER.isDebugEnabled())
  					LOGGER.debug("Adding license file: " + path);
  
  				Reader rd = null;
  				try {
  					rd = status.getRsReader().getResource(bundle, path);
  				} catch (ResourceNotFoundException e) {
  					throw new BundlingProcessException(
  							"Unexpected ResourceNotFoundException when reading a sorting file [" + path + "]");
  				}
  
  				try (BufferedReader bRd = new BufferedReader(rd)) {
  					// Make a buffered reader, to read line by line.
  					String line = bRd.readLine();
  
  					// Write each line and the corresponding new line.
  					while (line != null) {
  						bwriter.write(line);
  						if (((line = bRd.readLine()) != null) || it.hasNext())
  							bwriter.newLine();
  					}
  				}
  			}
  		}
  		return new StringBuffer(baOs.toString(charset.name())).append(bundleData);
  	}
docs: /*
  (non-Javadoc)
  
  @see net.jawr.web.resource.bundle.postprocess.impl.
  AbstractChainedResourceBundlePostProcessor
  #doPostProcessBundle(net.jawr.web.resource.bundle.JoinableResourceBundle,
  java.lang.StringBuffer)