Changed the output name to stastics.txt