extend API to get the shares from all files in a given folder