Yes to to it you need to assign in your "BPEL Assign" activity the file name.
To do it in the BPEL Mapper, select your variable go to properties .
Then go to File BC
Then go to outbound (if you want to write a file
Then assign the file name with the variable you want