Adding support for tiff files