add randomization to file_source
add filtered pipeline to accept/reject samples