// Create the new output handler (leave it on stack)
il.append(classGen.loadTranslet());
_filename.translate(classGen, methodGen);
il.append(new PUSH(cpg, _append));
il.append(new INVOKEVIRTUAL(open));
// Overwrite current handler
il.append(methodGen.storeHandler());
// Translate contents with substituted handler
translateContents(classGen, methodGen);
// Close the output handler (close file)
il.append(classGen.loadTranslet());
il.append(methodGen.loadHandler());
il.append(new INVOKEVIRTUAL(close));
// Restore old output handler from stack
il.append(methodGen.storeHandler());
}