script to parse a complete folder of htmlfiles