def _setup_task(self, load):
        """ Sets up the ``Task`` object and loads active file for task.

            `load`
                Set to ``True`` to load task after setup.
            """

        if not self._task:
            self._task = Task(self._data_dir)

        if load:
            self._task.load()