scan directory to get files

scan directory to get files