genhtml now does patch of urls.py
refactored to remove redundant need to line.rstrip()