How would I go about to get a list with only files or only folders in a directory. As far as I know, I can get the metadata with the client.files.getMetaData, but that seems like a backwards way of doing it by first getting all files and then getting all metadata. Especially if I have basically two closures in each other to set for example an array to use as a datasource for a tableview.