Add error handling and some comments to TNetXNGFile