A simple python script to iterate through all the (html) files in a directory, extracting emails from each, and writing a comma-separated list to an outfile for each html file.