he man just do this :

STRING* myfile1 = "your tga";

this can bind myfile1 to your wrs resource without need to create wdl and put bind in it