how to use directory_iterator