I am creating a cron job for a Magento 2 site. This cron job will search for files in
and will then process them.
I already have the cron job setup and can handle processing the file but I am wondering if there are any tools/libraries in magento 2 that can help with this process of finding files.
It is possible to do this without magento just using straight PHP commands but I am wondering if Magento has any tools that could help this process.
Part of the task that I will need to do when detecting these files is handle where they go as they are named in a certain format: