Fix infinite loop
Next change must only handle a single file