AAF file to RGA function updated