script to subsample lines from a file
script to subsample percentage of lines