Small python script for finding file types from a root dir