using list comprehension for exclude_dir_list