add attributes for uploading file