While uploading a file it should be shared automatically by the admin



Hello how can I find the php file which controls the sharing of files with the admin?
I want to edit the owncloud in a such a way when a user uploads a file it will be automatically shared with the admin