added save_file which saves the current file to the et directory