this adds a list into a list as a single item

-    filenames = [input_files, input_fastp]
+    filenames = []
+    filenames.extend(input_files)
+    filenames.append(input_fastp)