Possible small bug
I uploaded a pdf to a deal record and the number that usually tracks the number of files associated with that record did not update. The contact and company record did update showing that 1 file was associated with the records. At the time I uploaded the file to the deal the deal was set as lost. I did try reopening the deal and that did not cause the number to update.