print header( -type => $format, # no filename here -content_disposition => "attachment; filename=$file2");