Writes content to a file.
Future<File> writeFile({required String filePath, required String content}) { return File(filePath).writeAsString(content); }