Also, it's simpler to do just:

```ruby
JSON.parse(File.read(execution_plan_file))
```

Just for completeness, when using File.open with a block, one does not need to close the file, as the block handles that at the end.