Why not use a more sophisticated logging mechanism to keep track of which files have been uploaded and when?
⇑ Translate the sentence above by Google ⇑
Related: mechanism