applying chapter numbers to folders