You guys are missing the req's. It is just one file. Within this file are dated records and the ojective is to purge "older than" records. AFAIK, since KiX cannot edit files in place, the only option is to open the existing log AND create/open a new file, recursively parse and skip or copy to new until EOF, close both files and delete the original log, keeping the new smaller log.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.