Check the old status before assigning. This saves a temporary variable.
Attach a file by drag & drop or click to upload