def METHOD_NAME(self, file_name: str) -> bool:
    """Serialise the cache dictionary to a file.
    Parameters
    ----------
    file_name : string
        File path to which the cache should be saved
    """
    with open(file_name, "wb") as io:
        pickle.dump(self.data, io)
    return True