Include program name in errors; warn if input file does not exist, etc.