check_aws_s3_file.pl — help

Greetings.
Thank you for the pluggin, pretty simple and easy to configure although i have an issue when i check if a file exists in aws s3 bucket, for

./check_aws_s3_file.pl –aws-access-key xxxxxxxxxxxxxx–aws-secret-key xxxxxxxxxxxxxxxxxxx -b bucket-name -f file-name
i get the following output

OK: File does not exist: at ./check_aws_s3_file.pl line 145 .

but im sure the file exists in my aws-s3-bucket.
is there any specific syntax i should follow to give the file-name or bucket-name.

Thank you