Editing index file