docs: def read_separated_lines(path, separator=' ', max_columns=-1, keep_empty=False):
      """
      Reads a text file where each line represents a record with some separated columns.
  
      Parameters:
          path (str): Path to the file to read.
          separator (str): Separator that is used to split the columns.
          max_columns (int): Number of max columns (if the separator occurs within the last column).
          keep_empty (bool): If True empty columns are returned as well.
  
      Returns:
          list: A list containing a list for each line read.
      """
  
      gen = read_separated_lines_generator(path, separator, max_columns, keep_empty=keep_empty)
      return list(gen)