Fix index_files ivar warning

Fix the index_files instance variable deprecation warning:

```
Warning: Variable access via 'index_files' is deprecated. Use '@index_files' instead.
```