in reply to Split file based on tag

What was wrong with all the previous answers you got? See your previous question file split