Import stl files, modify, and save with same file name

I have a bunch of STL files I want import into rhino, modify with grasshopper, and then save into a new folder, while keeping the file names the same. How would I go about doing this? I’m not really sure where to start.

Part of the problem I’m having is that STL files don’t seem to retain their file name when imported into Rhino. But I imagine there’s a way I can get a list of the file names in grasshopper and then use that list to save the modified files.