Organised the file and created the TOC.