logged delete for file