String? argumentAsFileContentString(int index, [File? def]) { var file = argumentAsFile(index, def); return file?.readAsStringSync(); }