now printing to rev and fwd files aswell