Added functionality to load dia file.  Also added test for the same.