Select last and last but one file from Outlook

Hi,

I am working on project where robot will work with the newest and last but one Excel file from attachments in Outlook. How I can configure it?

Can you please elaborate more with a reference screenshot for this