code: def superReadText(filepath, **kwargs):
      
  
      if isinstance(filepath, pd.DataFrame):
          return filepath
      sep = kwargs.get('sep', None)
      ext = os.path.splitext(filepath)[1].lower()
  
      if sep is None:
          if ext == '.tsv':
              kwargs['sep'] = '\t'
  
          elif ext == '.csv':
              kwargs['sep'] = ','
  
          else:
              found_sep = identify_sep(filepath)
              print(found_sep)
              kwargs['sep'] = found_sep
  
      return superReadCSV(filepath, **kwargs)
docs: A wrapper to superReadCSV which wraps pandas.read_csv().
      The benefit of using this function is that it automatically identifies the
      column separator.
      .tsv files are assumed to have a \t (tab) separation
      .csv files are assumed to have a comma separation.
      .txt (or any other type) get the first line of the file opened
      and get tested for various separators as defined in the identify_sep
      function.