Determine the type of image file FILE from its name. Value is a symbol specifying the image type, or nil if type cannot be determined.