Added file type on server side