title: Get the type of a file in Cocoa
body: <p>I succeeded to find the extended file type of a specified file ( JPEG image, TIFF Image, ...) but I am looking for something more generic that can categorize files in "big cathegories" like images, moovies, text files, ...
  It there a way to acheive this in cocoa (or objective-c) ?</p>
  
  <p>Thanks for your help,</p>