#4  check if the shapefile or tif cannot be opened