public static function MoveUploadedFile($value, $target, $replaceIfExists = false)
 {
     if ($replaceIfExists) {
         if (FileUtils::IsUploadedFile($value)) {
             if (FileUtils::FileExists($target)) {
                 FileUtils::RemoveFile($target);
             }
         }
     }
     move_uploaded_file($value, $target);
 }