$filename = pathinfo($_FILES['file']['name'], PATHINFO_FILENAME);
$ext = pathinfo($_FILES['file']['name'], PATHINFO_EXTENSION);
$uid = uniqid();
$fn = Utils::translitUrl($filename).'-'.$uid.'.'.$ext;
$destination = IMAGE_COLLECTION. '/' . $fn;
move_uploaded_file( $_FILES['file']['tmp_name'] , $destination );