Script to automate subset selection and transfer of a large number of large files based on