import glob


def get_contfiles(self):
    """
    Get a list of the images and pbimages in the continuum working directory
    """
    images = sorted(glob.glob(self.contimagedir + '/I[0-9][0-9].fits'))
    pbimages = sorted(glob.glob(self.contbeamdir + '/B[0-9][0-9].fits'))
    return images, pbimages