???
```ruby
@param output [String, #to_s] the content to write
@param filename [String, Pathname] the filename for the output
@return [Nil]
```