Implement fileupload on backend