Rewrite ignore file