logging file delete fixed