delete rewrite file