from typing import Any
import pickle


def get_papers_pickle(filename: str) -> dict[str, Any]:
    """retrive papers (dict format) from file in folder data/papers"""
    with open(f"data/papers/{filename}", 'rb') as papers_file:
        return pickle.load(papers_file)