Safe exit in case missing input files