Fixed deletion of wrong file.