public static void Create(this IFile file, string content) { using (var stream = file.CreateWriteSync()) { AsyncPump.Run(() => stream.WriteStringAsync(content, Encoding.UTF8)); } }