directory_info function

Retrieve information about files in a directory