s.folder_content(folder, options)
Returns a list of all contents in a specified folder as an array. Passing the option “invert” will sort the list in reverse alphabetical order.
v.thefolderlist = s.folder_content("/somefolder")