Adding the Table of contents in text format