savemining function

Load/save into a file the result of a fit (model) or mining functions.