save_intermediary_files

add option to save or not intermediary files