Made default file upload create a user repository in the public/data/repository folder and put the file in the folder.