def retrieve_save(data)
      File.open(location, 'w') do |f|
        f << (data.respond_to?(:read) ? data.read : data)
      end
    end
def retrieve_save(data)
      File.open(location, 'w') do |f|
        f << (data.respond_to?(:read) ? data.read : data)
      end
    end
stream|string -> create data file