automatically generator the task graph and stored in the files