Rewrite all files