Fix file extension.
Refactor, remove root task from output.