Replace task code to separate file simple_task.c.