How to access file names for randomly chosen objects

I’m using the rep.randomizer.instantiate function to randomly choose a few object files from a specific folder, and I want to be able to access the file names for the specific files that it has chosen. The first print statement I use below returns the entire list of files that are in the folder, and the second simply returns the function I use to choose the files. Let me know if there are any suggestions on this. Thank you!

boxes = '/splost/all_models'
def get_random_object(size):
        get_objects = rep.randomizer.instantiate(rep.utils.get_usd_files(boxes, recursive=True), size=size, mode='point_instance')
        with get_objects:
            print(rep.utils.get_usd_files(boxes)) #this prints all usd files that are in the all_models folder
            print(get_objects) #this prints 'omni.replicator.core.randomizer.instantiate'
            rep.randomizer.materials(mat_list)
            rep.modify.pose(
                position=rep.distribution.uniform((-200, -200, 200), (-200, -200, 200)),
                rotation=rep.distribution.uniform((-90, -180, 0), (-90, 180, 0))
            )
        return get_objects.node
    rep.randomizer.register(get_random_object)