I saw a code that can help in the
fabric-samples/commercial-paper . Inside, go to a
digibank/application/addToWallet.js. Effectively it extracts information by reading it from file system and write it into a wallet format (user.id). You need to modify the path to reflect the actual files for your user, but it’s not difficult to follow the logic of the code. Hope this helps.