Add a function for uploading single files via uploader