There are no technical flaws for reusing variable names. However, if you reuse the variable and change its "target", this may confuse others reading your code (especially if they skip reassignment).
, . GC , ( , ). , batch_size - , , , del files[batch_size:].