Added example using set_file()