When you add or edit a message, you may also attach files to that message. These documents show up on the Files page as well, but since they are tied to a message, they cannot be edited in the files page.
You may remove a file attached to a message by editing that message and deleting it from there.