Added statistics file, non-optimized writing