docs: def file_dict(*packages, **kwargs):
      '''
      List the files that belong to a package, grouped by package. Not
      specifying any packages will return a list of _every_ file on the system's
      package database (not generally recommended).
  
      CLI Examples:
  
      .. code-block:: bash
  
          salt '*' pkg.file_list httpd
          salt '*' pkg.file_list httpd postfix
          salt '*' pkg.file_list
      '''
      errors = []
      ret = {}
      cmd_files = ['apk', 'info', '-L']
  
      if not packages:
          return 'Package name should be provided'
  
      for package in packages:
          files = []
          cmd = cmd_files[:]
          cmd.append(package)
          out = __salt__['cmd.run_all'](cmd,
                                        output_loglevel='trace',
                                        python_shell=False)
          for line in out['stdout'].splitlines():
              if line.endswith('contains:'):
                  continue
              else:
                  files.append(line)
          if files:
              ret[package] = files
  
      return {'errors': errors, 'packages': ret}