Use precmd() method instead of adding our own layer of preprocessing
Attach a file by drag & drop or click to upload