dealt with valgrind errors. v0.1.1
fixed issue with non-writable files. v0.1.2