Added file upload code to server js