# File lib/paperclip/storage/filesystem.rb, line 32 def to_file style_name = default_style if @queued_for_write[style_name] @queued_for_write[style_name].rewind @queued_for_write[style_name] elsif exists?(style_name) File.new(path(style_name), 'rb') end end