Yours:
// look in the root directory and open the file
if (!f.open(root, *name)) {
Original:
// look in the root directory and open the file
if (!f.open(root, name)) {
Yours:
// look in the root directory and open the file
if (!f.open(root, *name)) {
Original:
// look in the root directory and open the file
if (!f.open(root, name)) {