Now using all input files
replaced by bedlen.sh