to avoid accessing of 'p[-1]' (static code analysers dislike this)
Attach a file by drag & drop or click to upload