I have two entities where uploading of file is available. Files uploaded for one entity will be deleted regularly whereas for other entity they will remain forever.
How can I save files uploaded from each entity to separate folder. This will make easier for deletion of files (I will just delete folder content on server). If there is any other ways to fulfill this requirement.