Fixing formatting of index file