state machine find file collisions