Added download file from server functionality