Use intercepted rm and %erase instead of del