Added TSV line counts in header. Now using BED file with alphabetically greatest name (presumes file name will contain a date of the form "YYYYMMDD").