reset the index file to be what it originally was