Implement upload file