get_files_list(): closure is applied after recursive directory scanning, allows correct cache cleaning.