Adding code to read files from all nested subdirectories