This entire thing can be simplified to the following:

```ruby
def pcap_data
  File.read(pcap_audio.url) if pcap_audio.url
end
```