How to create a custom directory to store images uploaded to amazon s3 bucket?

Hi,
How to create a custom directory to store images uploaded to amazon s3 bucket ??
currently it is saved to folder with current date. How to store it into a custom folder ??