Added support for TIFF files.