creating HTMLPurifier once when loading file instead of everytime purify() is called