modified method of reading training data for executable jar