Raise error in case no tiffs are found.
Move setup parameters to common file.