When creating or editing a folder you cam assign Filters on the second tab in the dialog:
Assigning a filter on the folder will be applied to all the files inside it.
See also:
Using Filters in O/Cloud
How to Create New Filters
How to use the Filters Panel