Let's prefer putting the `&block` in the signature and using `block.call` over using `yield`:

```ruby
def update_tag_file(&block)
  ...
    block.call(tag_array)
  ...
end