ResourceExportFile.where.not(resource_export_file_name: nil).find_each do |file|
    file.attachment.attach(
      io: URI(Paperclip::Attachment.new(
        :resource_export,
        file,