Reloading the index file if needed