import glob


def get_files_list(dirpath,f_format):
    """
    get get path of all files with f_format in the directory
    dir_date: directory path
    f_format: ex) txt
    """
    return sorted(glob.glob(dirpath+'/*.'+f_format))