There is a task to parse xml from the folder where they are uploaded once an hour, and write everything to the database.
How can I implement it so that all files in a folder are parsed, and in the future it is not necessary to parse those that have already been read, i.e. just reappearing. Files are not deleted from the folder, they are simply added there.