Automatically delete files

Is there any way to automatically delete files?
How can I set file (not a link) expiration date?

Currently there is no way if you don’t have the enterprise edition to delete files automatically.

Expiration dates can be only set when sharing by link.