switch index files