how would you get the information for all of the selected items in a filelist box

for example
the user selects three items and you need to add all of their names them to a list box