added Http file upload, still need to clean up