Add file-uploading functionality