Maybe something like this:

```
     def evaluate(filename)
        if filename =~ /.erb/
          context.evaluate(filename, processors: [Tilt::ERBTemplate])
        else
          File.read(filename)
        end
      end
```