my @filenames = glob '*.csv'; #### cat *.csv > output.txt