How to directly read file on pavlovia

Thanks, @dvbridges Sorry for the late reply. I tried it and made some modifications besides var result = []; but it still didn’t work. Just came back from my vocation trying to catch up with my work, got a new error: TypeError: Cannot read property 'readPixels' of undefined