def METHOD_NAME(self):
    title = self.Title
    if 1:  # load the next file in the folder
        absdirname = os.path.abspath(os.path.dirname(self.infile_name))
        basename = os.path.basename(self.infile_name)
        ext = os.path.splitext(self.infile_name)[1]
        fnames = os.listdir(absdirname)
        #print(fnames)
        fnames = [os.path.join(absdirname, fname) for fname in fnames
                  if fname.endswith(ext)]
        #print(fnames)
        fnames *= 2  # avoids dealing with index issues
        old_fname = os.path.join(absdirname, basename)
        ifile = fnames.index(old_fname)
        fname = fnames[ifile + 1]
        try:
            self.on_load_geometry(fname, self.format)
        except Exception:
            self.infile_name = fname
    else:
        self.on_load_geometry(self.infile_name, self.format)
    msg = '%s - %s - %s' % (self.format, self.infile_name, self.out_filename)
    self.set_window_title(msg)
    self.log_command('on_reload()')
    #self.cycleResults(Title)
    for unused_i in range(10):  #  limit on number of cycles
        if self.Title != title:
            self.cycleResults(title)
        else:
            break