Clean up CLI PROGRAM command file section parsing code.