Okay, sorry for my mistake, I now have a proper solution,
Delete the insecure file I told you to place there completely, do not replace it leave it missing
and then run sh /scripts/update_cwp
this will cause the update to replace the now missing fileManager2.php.
you will then have a working file manger that is properly secured again sorry for my mistake.
Thanks