def open_files(self, path):
        # Strips trailing wildcard
        if path.endswith('*'):
            path = path[:-1]

        if os.path.isdir(path):
            return False

        self.logger.debug('Opening files matched by {0}'.format(path))
        info = iohelper.get_fileinfo(path)
        ext = iohelper.get_hdu_suffix(info.numhdu)
        files = glob.glob(info.filepath)  # Expand wildcard
        paths = ['{0}{1}'.format(f, ext) for f in files]

        self.load_paths(paths)
        return True
Load file(s) -- image*.fits, image*.fits[ext].
dataset/ETHPy150Open ejeschke/ginga/ginga/misc/plugins/FBrowser.py/FBrowser.open_files