Refactored structure of accounts storage file.