Found that tfidf can generate invalid lda-c files with a leading 0.  Adding asserts to narrow the problemw
refactoring file management.
Spelling.