rcS: added check for the existence of previous error log files.