def _load_user(self, user_file):
        if not os.path.exists(user_file):
            return None

        with open(user_file, 'r') as f:
            data = json.loads(f.read())
            return User(data['name'], data['email'], data['login_type'],
                        data['password_digest'], data['user_id'])
Load a user from a file.
dataset/ETHPy150Open mblayman/markwiki/markwiki/storage/fs/user.py/FileUserStorage._load_user