added some generate file stats