def getFileSet(source, logErrors):
	"""
	Get set of files to extract errors, containing original source file and
	any files mentioned in the errors

	:param source: source file that was compiled
	:parma logErrors: list of error tuples from the log
	"""

	fileSet = set([source])
	for e in logErrors:
		fileSet.add(e.file)
	return fileSet