LepSFUtil from wreece branch, because Lucie forgot it