My objective was to prevent a user with this permission to see any file with the filename " Planification and costs "
The flaw with this is it is hard coded and I would need to add to the condition any new reports I dont want certain user groups to see. There is also a risk of them uploading a file with the first part of the file name " Planification and costs " and would never see the file again.
In summary, what this does is to prevent viewing of any previously generated reports of that file name, and any future reports that are generated (No need for me to fix the permissions every time a new file is created). I actually disabled the dms for the basic users before I fixed this permission. With this permission, users are still able to use dms and not see the reports I dont want them to see.
Having the permission set like this gives the given user all access to all files regardless of set permissions(Permissions in DMS and not in user settings)