Use the same init logic for the factory in multiple places
Attach a file by drag & drop or click to upload