read data from .txt AND initialize relationship Array