How to open html.file dinamically ...?

My requirement is

10 html. file in dinamic folder ,
folder name -
( today’s date 2022-08-17 )

Only two html file s is opening
Once open file Ectract data …

Please help me

Can you shared your existing code to check what you are missing?