This image shows the Create Filename Pattern page with the following fields filled out as follows:
Name: Folders are Logical Entities
Expression: {bucketName:[A-Za-z0-9\.\-_]+}/{logicalEntity:[^/]+}/\S+$