File upload working - server side needs writing