def file_name(search_entry, typ="summary"):
    """ By entering the search entry we generate an uniqe file name to save or load the summaries or the books.
    Input: 
    -----
    search_entry : the search entry we look for
    typ : the type of text we are looking for. Can be "summary" for api summary, or "book" for a txt book file. 
    """
    
    strip_name = search_entry.replace(" ", "_") # To get rid of spaces in search queries
    if typ == "summary":
        return f"Summary/summary_{strip_name}"
    elif typ == "book":
        return f"Books/{strip_name.lower()}"