More adaptions to make it work with existing code base.
Attach a file by drag & drop or click to upload