Since you have another PR to load txt to serial, let's wait for that and use serial.load. You can rebase this on top of that after merge.