code: def _build_project_tree(path, followsymlinks, file_filter):
      
      result = None
      if os.path.isfile(path):
          result = LocalFile(path)
      else:
          result = _build_folder_tree(os.path.abspath(path), followsymlinks, file_filter)
      return result
docs: Build a tree of LocalFolder with children or just a LocalFile based on a path.
      :param path: str path to a directory to walk
      :param followsymlinks: bool should we follow symlinks when walking
      :param file_filter: FileFilter: include method returns True if we should include a file/folder
      :return: the top node of the tree LocalFile or LocalFolder