if statement to only process .tif files