If you need to transfer files, use magic wormhole.
https://github.com/magic-wormhole/magic-wormhole
There's an Android app that works as well.
And unlike that service, magic wormhole doesn't know the contents of the file. It's encrypted/decrypted at the end points.