Null check on BundleDocument

Added some null checks to BundleDocument.FromFile() this fixed a visual studio crash issue on load if a file was not found.