Factor out code appearing in both branches of an if/else.
Attach a file by drag & drop or click to upload