parameters: (filePath, regex)
docstring: Filters each line of the given text file using the given regular
  	expression string. For each match, a tuple containing the text matching
  	each capture group from the regular expression is yielded.
docstring_summary: Filters each line of the given text file using the given regular
  	expression string. For each match, a tuple containing the text matching
  	each capture group from the regular expression is yielded.
docstring_tokens: Filters each line of the given text file using the given regular expression string . For each match a tuple containing the text matching each capture group from the regular expression is yielded .
function: def filterFile(filePath, regex):
  	'''Filters each line of the given text file using the given regular
  	expression string. For each match, a tuple containing the text matching
  	each capture group from the regular expression is yielded.
  	'''
  	with open(filePath, 'r', encoding='utf-8') as inp:
  		for groups in filterLines(inp, regex):
  			yield groups
function_tokens: def filterFile ( filePath , regex ) : with open ( filePath , 'r' , encoding = 'utf-8' ) as inp : for groups in filterLines ( inp , regex ) : yield groups