Using CURLFile class if it exists