working on reading cdf values from file