input: 
  def parse_url_components(url: str) -> str:
      """
      Parse the given URL and return a formatted string with the protocol, domain name, and path.
      
      Example:
      >>> parse_url_components('https://www.example.com/path/to/file')
      'Protocol: https, Domain name: www.example.com, Path: /path/to/file'
      """
  
output:     from urllib.parse import urlparse
      parsed_url = urlparse(url)
      protocol = parsed_url.scheme
      domain_name = parsed_url.netloc
      path = parsed_url.path
      return f'Protocol: {protocol}, Domain name: {domain_name}, Path: {path}'