E.g. list_files_recursive could take a list of file extension rather than just a single extension for matching if file ends with either extension.