sort out the rest of the nasty stuff in the attachment/file api - time to move on to something else