Phone book class file saving logic and reading bug fix