sample a text file based on predicates.