Write mode rewrited. Stdout optimized