add a stat file