collect_directory