Also moved the functionality of each command into it's own method.
Attach a file by drag & drop or click to upload