Can now read vocab from a file (closes issue #2)