Phone book class file saving logic and reading