Simple api to file upload