Returns a pasteboard type based on the passed file type.
- macOS 10.0+
Returns an NSString to a pasteboard type representing a file’s contents based on the supplied string
file should generally be the extension part of a filename. The conversion from a named file type to a pasteboard type is simple; no mapping to standard pasteboard types is attempted.