minor debugs
created fn to check for error file.
prints errors to screen at end of all other runs