How to add an attachment description to file uploads?

i get how to load a list of them but how do you relate the upload component to the single record attachment model? once you upload the file it saves it and there is no handle to the attachment it creates.