Read file and populate data structures for synsets.