Add paste directory surpport

Add a new feature that if users paste directories not files, the project will traverse all the subfolder of giving directories recursively and find out all the files and add them to the list.