We would define a python function like scan_directory(directory_path) that scans an entire directory just based on the path.