Add file type to stats.