add save to file
Merge pull request #2 from codecurry/master

add file saving