Updated how command read the list of files.

changed file arguments to loop over task.data.files.src. Updated common test fixture to construct the fake task with this data structure.