check that all files were found in directory during readdir