added the vocabulary and reading vocabulary from files