New parameters $apply and $limit in get_files_list() function.