Added support for probe to be saved in a file