def load_directory_collection(self, dirname):
        images = glob.glob(os.path.join(dirname, '*.jpg'))
        png_images = glob.glob(os.path.join(dirname,'*.png'))
        images.extend(png_images)
        self.load_collection(images, monitor_dir=dirname)
Check if given controller already exists in project.
dataset/ETHPy150Open thesamet/webilder/src/webilder/WebilderDesktop.py/WebilderDesktopWindow.load_directory_collection--crossover with--dataset/ETHPy150Open Pylons/pylons/pylons/commands.py/check_controller_existence