Added exit code. Pass through any type of file if there is no heading match.