Initial check that input files exist.