Generate button function Step 1

Generate list of files from the options. Not from subfolders. Need to
update.