Cleanup index file