Adding code to cap the stderr file as well based on configuration.
Updated code to identify culprit file.
Merge branch 'stderrFileCap'