added error message if missing .tif file