Is there a way to set the expiration time to all shared files by default?

Thank you