add temporary index file.