Update task to use data obj

the src and dest params are contained in the data obejct, not the file object.