import csv


def import_bed_file(bed):
    """
    Import a BED file containing regions and return a matrix containing those
    regions.

    Arguments:
        * bed: full path to a BED file to process
    
    Return Value:
        Returns a list of primers from the BED file
    """
    primers = list()
    with open(bed, 'r') as fh:
        reader = csv.reader(fh, delimiter='\t')
        for line in reader:
            primers.append(line)
    return primers