Read file from training data