Added file upload script server-side
Upload file via writer