$report->attach( Type=>'application/vnd.ms-excel', Encoding=> 'base64', Path=> "/my/home/"."$out", Filename=> "$file"."_fixed.xls" );