updated logic
diff --git a/tasks/main.yml b/tasks/main.yml
index 5470d59..b974da7 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -24,7 +24,7 @@
   with_items: "{{ downloads.results }}"
 
 - name: Iterate over files found
-  include_tasks: ./download_files.yml
-  vars:
-    download_set: "{{ item }}"
-  with_nested: downloads.results
\ No newline at end of file
+  include_tasks: download_files.yml
+  with_items: downloads.results
+  loop_control:
+    loop_var: download_set
\ No newline at end of file