Function to retrieve objects from a shelve
    Args:
        file_name: Shelve storage file name
        save_key: The name of the key the item is stored in
        file_location: The location of the file, derive from the os module

    Returns: Returns the stored object

def retrieve_object_from_file(file_name, save_key, file_location):
    """
    Function to retrieve objects from a shelve
    Args:
        file_name: Shelve storage file name
        save_key: The name of the key the item is stored in
        file_location: The location of the file, derive from the os module

    Returns: Returns the stored object

    """
    shelve_store = None
    file = __os.path.join(file_location, file_name)
    try:
        shelve_store = __shelve.open(file)
    except Exception as e:
        LOGGER.critical('Function retrieve_object_from_file Error {error} ignoring any errors'.format(error=e))
        __sys.exit('Storage dB is not readable, closing App!!')
    stored_object = shelve_store.get(save_key)
    shelve_store.close()
    return stored_object