Changed to writeFileSync

Includes results / aggregated data