Uniform handling of errors is get_suite() allows this code to be simplified.
Attach a file by drag & drop or click to upload