Added basic read/write to file