close file after opening it
Merge branch 'master' of github.com:voldyman/MarkMyWords
added definitions for write_file