[IC] updated "scan_dir" function to use lC_DirectoryListing class