read testing and training data