Doesn't this need to be *NEW_FILES*?  And also check for *ALL_FILES*.  Then the call to _checkIntegrity()_ above should check *EXISTING_FILES* and *ALL_FILES*.

Apologies if I've missed something though.