Add initial support for using task file