Code to generate error files and error files for lint and hint