The intent of this code is to allow the user to copy files selected files in the current folder, into a new folder specified by the user, and to resize in the process.
And then, to prompt the user to delete the source files.
The first 2 lines work fine, but nothing happens after that.