Files are organized in the following hierarchy: 


Bucket (Name of bucket: by default set as organization Id)

↓ 

Folder (Name of folder: object name prefix - the name of the object)

↓  

Sub Folder (Name of subfolder: record id) 

↓ 

Uploaded Files (name if uploaded file with versioning)