added printing lambda into the the data file
added reading lambda from the data file