fixing upload bugs, now files attached to notes encrypt and upload!