split bin file and ocnfigure the workflow