move two functions next to the functions that use them.
Attach a file by drag & drop or click to upload