private void openSelectedFile()
 {
     if (documentGrid.SelectedItem != null)
     {
         documentController.openFile(documentGrid.SelectedItem.UserObject.ToString());
         if (DocumentClicked != null)
         {
             DocumentClicked.Invoke();
         }
     }
 }