for my $j (1..2) { push @files, "$path/File-${molec2}-cluster${j}.out"; }