Uploadservice groovy