Separate steps of processing for validation, filtering and packing.