awk ' FNR==1 && NR!=1 { while (/^<header>/) getline; } 1 {print} ' file*.txt >all.txt
awk 'FNR>1 || NR==1' {0..1000}.file.csv