public override void Dispose()
 {
     if (unregisterEvents != null)
     {
         unregisterEvents(this, null);
     }
     ItemAdded.UnregisterEvent(DatabaseFileChange, ref unregisterEvents);
 }