A function to read a file, such as (filePath) => File(filePath).readAsString() or (filePath) => rootBundle.loadString(filePath).
(filePath) => File(filePath).readAsString()
(filePath) => rootBundle.loadString(filePath)
final Future<String> Function(String filePath) fileReader;