update get_files_vec method