This simplifies splitting code for reading from input out of transcode().
Attach a file by drag & drop or click to upload