working on file upload to server