+ added file refresher function
* made open_files more functional
* made save_files more functional