file delete logic bug...