This avoids an indirection and will simplify implementation of encode2()
Attach a file by drag & drop or click to upload