cat #for $q in $queries# ${q.input} #end for# > $out_file1 ; cat #for $q in $queries2# ${q.input2} #end for# > $out_file2