Corrected loading of the document frequency file.  Mostly regex issues with {}.