Added reportfilename variable