This has been done before, it was a plugin for Messenger Plus! 3 called Who Sent It, and me and Dempsey (the Who Sent It creator) have been working on detecting file transfers using scripts recently to try and make this as a Messenger Plus! Live script.
It is definitely possible and hopefully (we do kinda get lazy frequently
) we should be able to finish this script soon.
And as for moving the files based on name, this is unreliable because if the person changed their name then a new folder would be created for the same person which makes it disorganised once again. So instead it will organise files by the user's email address.