Finsihed savFile and readFile methods

should work correctly now .. please try it out!!