This is so that you can export the file from the browser and use the same file in the wallet file from the command-line. I have made encryption work equivalently between the browser and node.
...to Wallet and WalletFactory
the walletId is the filename