cleanup for deleted file