These functions are used to determine the HFS file type of a file, as well as to convert between HFS file types and HFS file codes.
NSString *NSFileTypeForHFSTypeCode(OSType hfsFileTypeCode)
OSType NSHFSTypeCodeFromFileType(NSString *fileTypeString)
NSString *NSHFSTypeOfFile(NSString *fullFilePath)