Add getFolders to examples

Can we remove these parameters?