General scheme of fluorination of esters