It's only used in opt_output_file(), so move it right above opt_output_file().
Attach a file by drag & drop or click to upload