Fix index_files ivar warning

Fix the index_files instance variable deprecation warning.