Enable SSH access (but make sure it only accepts key-based logins - password based on a mobile device that might operate in untrusted networks is a bad idea).
If you enable SSH, you can transfer files from the PC over WLAN. (If you are on Windows: FileZilla is your friend.) Also, you can remote access the Steam Deck command line via SSH. (If you are on Windows: PuTTY is your friend.) That’s way less annoying than having to type longer texts (think: script files to launch emulators) with the on-screen keyboard.