The ReadNDFile method is completed. Also introduced some class attributes for default values.