Split chapters that have contents so far into separate files