File newFile(String path, String content) { var bytes = utf8.encode(content) as Uint8List; return newFileWithBytes(path, bytes); }