writing cats sheet at end of output files