Expense Claim / Files

Hi Frappe Team,

I custom add attach field in expense claim

I want to download the attachments only by using some filters like pending status.

How to do this any ideas?