Rename task file and update logic