Help needed: loading files and their names from a folder into a menu

Im trying to make a menu that when you click a certain item it lists the files in that certain folder.
I have attached a .doc of what im properly talking about along with a diagram

Anyone have any coding or able to help me out? thanks!