We should probably do some more sanitation here. If I have the file `hello dolly.yml` then it should come in as `hello_dolly`.

```ruby
def sanitize_filename(name)
  name.gsub(/[^\w\s_-]+/, '')
      .gsub(/(^|\b\s)\s+($|\s?\b)/, '\\1\\2')
      .gsub(/\s+/, '_')
end
```

```ruby
key = sanitize_filename(File.basename(entry, '.*'))
```