Change to allow tif and spe formats as well.