Please use send_request_cgi, so you have available "vars_get" which should be the option to use to provide the filename variable