How to auto delete files from a folder after 30 days?

I have and addon that records IPTV and the recorded videos are created in a folder. I want to configure in some way, that the file is automatically deleted after 30 days from its creation.. I use OSMC. Is possible?