Randomly sample lines from a text file