Added working file upload endpoint