creating statistics files