Minor cleanup: use better filepath/file var names

Also add __len__ to VocabularySet.