index file in place