initial file saving implementation. untested
added testfile1
bug fix
passing init testing, initial file testing