Remove text in index file