def load_account(path):
    # Show a more descriptive message if the file doesn't exist.
    if not os.path.exists(path):
        logger.error("Couldn't find an account file at {}.".format(path))
        logger.error("Are you in the right directory? Did you register yet?")
        logger.error("Run 'manuale -h' for instructions.")
        raise ManualeError()

    try:
        with open(path, 'rb') as f:
            return deserialize_account(f.read())
    except (ValueError, __HOLE__) as e:
        logger.error("Couldn't read account file. Aborting.")
        raise ManualeError(e)
dataset/ETHPy150Open veeti/manuale/manuale/cli.py/load_account