def addNewTask(self, *args, **kwargs):
        try:
            newTask = Task(*args, **kwargs)
        except GraphError, e:
            raise e

        self.tasks.append(newTask)
        newTask.arguments.parent = self.arguments
        newTask.environment.parent = self.environment

        return newTask
:type file: io.FileIO
dataset/ETHPy150Open mikrosimage/OpenRenderManagement/src/puliclient/__init__.py/TaskGroup.addNewTask--crossover with--dataset/ETHPy150Open sodastsai/taskr/taskr/contrib/filetools.py/_md5_file