Get path to parsing log via method call.

See NCBO-945.
Delete errors.log for archived submissions.

Also modified code to use method call to get the path to the parsing
log file.  See NCBO-945.