• Please explain what you mean by "registers them in a log table" - are you actually processing the files or just recording their names?

    If you haven't even tried to resolve your issue, please don't expect the hard-working volunteers here to waste their time providing links to answers which you could easily have found yourself.