Swap index files