combine loadTrainData and loadTestData to loadData