Why not just add a log file that tells which files were renamed when? That way not only do you know which files have been processed, but if you want to go back through the processed files later, you can tell if the files have been updated since the last time they were renamed.