Add content to index file