Split parser into another file