The files created should have the permissions of the user which possibly will
need to edit them
Removed deprecated variable access