public async Task ProcessFileSynchronizationAction(MobileServiceFile file, FileSynchronizationAction action) { if (action == FileSynchronizationAction.Delete) { await fileProvider.DeleteLocalFileAsync(file); } else { await cloudService.DownloadItemFileAsync(file); } }