Document uploads finally working, including removing them