delete file by new name instead of old one