Under settings -> files you will find the option to set how long 

your downloaded files should stay downloaded on your device. 

Depending on your selection, files are that older will automatically

be deleted, unless they are marked to be available offline. 

Those files are never removed.

When you press the field, you will get the following option:

You can cancel the operation without any changes.