Added example code. New delete function. delete_all now deletes cache files.