log and trace file delete