private IDistributedNotification?ReadAsDistributedNotification(string path)
 {
     try
     {
         Log.Debug().Message($"Reading content and deserializing \"{path}\".").Write();
         var content = File.ReadAllText(path);
         return(DistributedNotification.FromSerialized(content));
     }
     catch (Exception e)
     {
         Log.Error().Message("Failed to deserialize DistributedNotification.").Exception(e).Write();
         return(null);
     }
     finally
     {
         try
         {
             Log.Info().Message($"Deleting file \"{path}\".").Write();
             File.Delete(path);
         }
         catch (Exception e)
         {
             Log.Error().Message($"Failed to cleanup Notification \"{path}\".").Exception(e).Write();
         }
     }
 }