20130605 add readfromfile and writetofile nodes. Debugged.