No need to explicitly discard direcory from file name.
Attach a file by drag & drop or click to upload