byte[] bytes = out.toByteArray();
bytes = afterGeneration(bytes);
IPath location = new Path(targetLocation).append(fileName);
createFile(location, bytes, request);
}
<BUG>protected byte[] afterGeneration(byte[] bytes) {
return bytes;
}
protected void createFile(IPath location, byte[] bytes, HttpServletRequest request) throws Exception {
</BUG>
IWorkspace workspace = WorkspaceLocator.getWorkspace(request);

byte[] bytes = out.toByteArray();
bytes = afterGeneration(bytes);
IPath location = new Path(targetLocation).append(fileName);
createFile(location, bytes, request);
}
private void createFile(IPath location, byte[] bytes, HttpServletRequest request) throws Exception {
IWorkspace workspace = WorkspaceLocator.getWorkspace(request);
