Added files. File writing and reading not working on OSX.