Delete index file after loading the file fails so that the next analysis succeeds.