Surface modification of polymers treated by fluorinating media