array.fromfile() works only with file objects, not io.FileIO instances.
Attach a file by drag & drop or click to upload