Takes a training file and strips out a specified percentage of random lines into a testing file.