We used to do it this way, which is actually not the best way to read a file. Most of the time this is fine, but in case of an exception, there would be a file handle leak. So it's better to do:

```ruby
swf = ''
::File.open(path, 'rb') { |f| swf = f.read }
```