added printing of filename in which compile errors occurred