delete by swpfile