avoid rewriting file