import glob


def search_dir(dir_name: str, file_suffix: str) -> list:
    """Iterates through a directory and all of its subdirectories and returns
    a list of absolute paths for all file with a given suffix.

    dir_name: absolute paht to directory
    file_suffix: string with file extension (e.g: .xlsx; .txt; etc)
    """
    
    files = [file for file in glob.glob(f"{dir_name}/**/*{file_suffix}", recursive=True)]
    return files