error: call to 'StreamFile<ExFatFile, long long unsigned int>::name' declared with attribute error: use getName(name, size)
error: conversion from 'ExFile' to non-scalar type 'File' requested
I would just use the SD.h file, it is a wrapper for the SDfat library.