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