FIX: raise Exception for tiff files