Added more statistics to file scanner