removing link to deleted file