Invalid batch counter should not be reset for each file.