# File lib/aws/s3/data_options.rb, line 59
      def rename_file_to_data options
        if file = options.delete(:file)
          options[:data] = file.is_a?(String) ? open_file(file) : file
        end
      end