added stats for input files