Tooltip generation added for explicitly selected files like already existing for files in selected folders

Tooltip generation added for explicitly selected files like already existing for files in selected folders. Fixes #6031.