edits to allwords to iterate over whole tree, renaming corpus files