A script which gives statistics about a directory tree grouping the results by mime type