TODO: add test for this function, it was written in hurry :) refs #5
Attach a file by drag & drop or click to upload