revert index file