add error if input files don't exist