try filereader.readarrayasbuffer