Transfering files from phone to computer is not an OTG fuction.
You may need to activate Developer mode first. The phone must also be open.
OTG mode tells the phone to act like a computer. It just needs to be a USB device.
read this https://developer.android.com/studio/debug/dev-options