Initializes and returns an NSImage instance and associates it with the specified file.
Original signature is '- (id)initByReferencingFile:(NSString *)filename'
Available in Mac OS X v10.0 and later.


- filename (NSString)
- A full or relative path name specifying the file with the desired image data. Relative paths must be relative to the current working directory.

An initialized NSImage instance, or nil if the new instance cannot be initialized.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)