Function to store objects in a shelve
    Args:
        file_name: Shelve storage file name
        save_key: The name of the key to store the item to
        file_location: The location of the file, derive from the os module
        object_to_store: The object you want to store

    Returns:

def store_object(file_name, save_key, file_location, object_to_store=None):
    """
    Function to store objects in a shelve
    Args:
        file_name: Shelve storage file name
        save_key: The name of the key to store the item to
        file_location: The location of the file, derive from the os module
        object_to_store: The object you want to store

    Returns:

    """
    file = __os.path.join(file_location, file_name)
    try:
        shelve_store = __shelve.open(file)
    except Exception as e:
        LOGGER.critical('Function store_object Error {error} ignoring any errors'.format(error=e))
        print('Bad storage dB, rebuilding!!')
        __os.remove(file)
        shelve_store = __shelve.open(file)
    shelve_store[save_key] = object_to_store
    shelve_store.close()