example on saving a kernel to a file
