Swapping index files