Read and edit the index.dat file