docs: def _search_files(path):
          """Search a folder for data files
  
          .. versionchanged:: 0.6.0
              `path` is not searched recursively anymore
          """
          path = pathlib.Path(path)
          fifo = []
  
          for fp in path.glob("*"):
              if fp.is_dir():
                  continue
              for fmt in formats:
                  # series data is not supported in SeriesFolder
                  if not fmt.is_series and fmt.verify(fp):
                      fifo.append((fp, fmt.__name__))
                      break
  
          # ignore qpimage formats if multiple formats were
          # detected.
          theformats = [ff[1] for ff in fifo]
          formset = set(theformats)
          if len(formset) > 1:
              fmts_qpimage = ["SingleHdf5Qpimage", "SeriesHdf5Qpimage"]
              fifo = [ff for ff in fifo if ff[1] not in fmts_qpimage]
          # ignore raw tif files if single_tif_phasics is detected
          if len(formset) > 1 and "SingleTifPhasics" in theformats:
              fmts_badtif = "SingleTifHolo"
              fifo = [ff for ff in fifo if ff[1] not in fmts_badtif]
          # otherwise, prevent multiple file formats
          theformats2 = [ff[1] for ff in fifo]
          formset2 = set(theformats2)
          if len(formset2) > 1:
              msg = "Qpformat does not support multiple different file " \
                    + "formats within one directory: {}".format(formset2)
              raise MultipleFormatsNotSupportedError(msg)
          # sort the lists
          fifo = sorted(fifo)
          return fifo