def read_targets(targets):
results = {}<EOL>for target, regexer in regexer_for_targets(targets):<EOL><INDENT>with open(target) as fh:<EOL><INDENT>results.update(extract_keypairs(fh.readlines(), regexer))<EOL><DEDENT><DEDENT>return results<EOL>
Reads generic key-value pairs from input files