renamed readfromfile and created printtofile
also got the button working