docs: def _local_upload(self, filepath, remove=False):
          """Local plugin package processing"""
          if os.path.isfile(filepath):
              filename = os.path.basename(os.path.abspath(filepath))
              if filename and self.__isValidFilename(filename):
                  suffix = self.__getFilenameSuffix(filename)
                  try:
                      self.__unpack_tgz(os.path.abspath(filepath)) if self.__isValidTGZ(suffix) else self.__unpack_zip(os.path.abspath(filepath))
                  finally:
                      if remove is True:
                          os.remove(filepath)
              else:
                  raise InstallError("Invalid Filename")
          else:
              raise InstallError("Invalid Filepath")