Adding TwoFiles backend with cpp templates