The function for reading the bedfile searches through the bed directory and all its subdirectories. Multiple bed files might be read into the list.