Update function.sh

Small change of upload function url (change '...files/data' to '...files/content')
Add a remove (delete) function - I'll adapt the box.sh script accordingly in my next commit.