added more detail about what parsediagnostic.R does