extract Batch to separate file
reorganise util