Question: how to transfer files from iphone to thumb drive?
Answer: Pick up a Lightning to USB flash drive if you don't already have one.
Plug it into your iPhone (you'll need to download a corresponding app)
Open the app that works with your specific flash drive on iPhone.