code: def remove_files_by_path(self, path, tree=TreeType.SOURCE_ROOT, target_name=None):
          
          files = self.get_files_by_path(path, tree)
          result = 0
          total = files.__len__()
          for file_ref in files:
              if self.remove_file_by_id(file_ref.get_id(), target_name=target_name):
                  result += 1
  
          return result != 0 and result == total
docs: Removes all files for the given path under the same tree
          :param path: Path to the file relative to the tree root
          :param tree: Tree type to look for the path. By default the SOURCE_ROOT
          :param target_name: Target name or list of target names where the file should be removed from (none for every
              target)
          :return: True if all the files were removed without problems. False if at least one file failed.