ResourceImportFile.where.not(resource_import_file_name: nil).find_each do |file|
    file.attachment.attach(
      io: URI(Paperclip::Attachment.new(
        :resource_import,
        file,