Utilities to extract random or exact size samples from a text file.