How to import only some of the files in a folder containing many files?

When downloading files from a folder in a data registry repo, is it possible to randomly select 10% of them, specify a range or filter them by name?