from pathlib import Path
import pickle


def read_database(database_path: Path):
    """Read and return the database."""
    with open(str(database_path.absolute()), "rb") as database_file:
        return pickle.load(database_file)