Created CUAIFile class (Issue #1913) to save and load file in UAI file format.