function __construct($bucketName, $accessKey, $secretKey, $useSSL = true, $endPoint = 's3.amazonaws.com')
{
$this->s3Bucket = $bucketName;
$this->s3AccessKey = $accessKey;
$this->s3SecretKey = $secretKey;
$this->s3SSL = $useSSL;
$this->s3endPoint = $endPoint;
}