This refactors the existing Database method to use an Operation class.
Attach a file by drag & drop or click to upload