now performs recursive read of directory