is it possible to input variables into a parseXML line. i've tried but keep getting errors.

Symbol=inputscreen, Layer=code, Frame=1: Line 3: ')' or ',' expected
new.parseXML("<AD><ADID>"+file"</ADID></AD>");

where file is a variable for an input text.