DIPY Fiber Segmentation Question

I am attempting to use the DIPY command line tools to segment a whole-brain tractogram (.trk file) into characteristic fiber bundles (such as the left/right arcuate fasciculus). I downloaded the HCP atlas provided with DIPY (with the function get_two_hcp842_bundles), and I was able to run dipy_recobundles (one of the command line tools included with DIPY) with my whole brain tractogram and only one bundle .trk file from the atlas at a time. Is there a way to feed in a whole directory of model bundle .trk files such that I don’t have to inefficiently loop over a directory and reload the whole-brain tractogram each time? Thank you, and I’m happy to provide more info as needed.