Updated code to identify culprit file.