Hi @igonzalez1
I'm going to assume that the files are in your OneDrive, but the process is the same if they are in SharePoint.
For the condition to take one day
addDays(utcNow(),-1)
To get the day, month, and year:
formatDateTime(items('Apply_to_each')?['LastModified'],'dd')
formatDateTime(items('Apply_to_each')?['LastModified'],'MM')
formatDateTime(items('Apply_to_each')?['LastModified'],'yyyy')
And here's the full Flow:

Can you please check if and let me know if you have any questions?
Cheers
Manuel
-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.