Add request_folder_match() function