added save_file to input_form