now printing statistic files to resourcemanager/statistics