with this query:
"name contains '.extension' and 'folderId' in parents"
I get the immediate children with the extension ".extension" in the folder with the folderId.
How can I retrieve all files with this extension in this folder and all its subfolders?