String? optionAsFileContentString(String key, [File? def]) { var file = optionAsFile(key, def); return file?.readAsStringSync(); }