updated comment parser to take a file as a path and output multiple exception messages