def validate_zip_file_export zip_file
      path = File.dirname zip_file
      error(
        "The path to the zip file `#{path.to_path}' doesn't exist."
      )  unless (is_directory? path)
      prompt_to_replace_file zip_file  if (is_file? zip_file)
    end
def validate_zip_file_export zip_file
      path = File.dirname zip_file
      error(
        "The path to the zip file `#{path.to_path}' doesn't exist."
      )  unless (is_directory? path)
      prompt_to_replace_file zip_file  if (is_file? zip_file)
    end
Check that the given <tt>zip_file</tt>
 doesn't exist already but that the path leading
 to the file does exist.