rep.num by numrep
format for title and file name