Add function that adds files to a user