Using the file extension of a file called image.raw I first get the UTI using
image.raw
UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, fil