(table) dirlist(string dirname);

Returns a table containing files and attributes in the supplied dirname.