code: def _get_path(share_name=None, directory_name=None, file_name=None):
      '''
      Creates the path to access a file resource.
  
      share_name:
          Name of share.
      directory_name:
          The path to the directory.
      file_name:
          Name of file.
      '''
      if share_name and directory_name and file_name:
          return '/{0}/{1}/{2}'.format(
              _str(share_name),
              _str(directory_name),
              _str(file_name))
      elif share_name and directory_name:
          return '/{0}/{1}'.format(
              _str(share_name),
              _str(directory_name))
      elif share_name and file_name:
          return '/{0}/{1}'.format(
              _str(share_name),
              _str(file_name))
      elif share_name:
          return '/{0}'.format(_str(share_name))
      else:
          return '/f _get_path(share_name=None, directory_name=None, file_name=None):
      '''
      Creates the path to access a file resource.
  
      share_name:
          Name of share.
      directory_name:
          The path to the directory.
      file_name:
          Name of file.
      '''
      if share_name and directory_name and file_name:
          return '/{0}/{1}/{2}'.format(
              _str(share_name),
              _str(directory_name),
              _str(file_name))
      elif share_name and directory_name:
          return '/{0}/{1}'.format(
              _str(share_name),
              _str(directory_name))
      elif share_name and file_name:
          return '/{0}/{1}'.format(
              _str(share_name),
              _str(file_name))
      elif share_name:
          return '/{0}'.format(_str(share_name))
      else:
          return '/'
docs: Creates the path to access a file resource.
  
      share_name:
          Name of share.
      directory_name:
          The path to the directory.
      file_name:
          Name of file.