add file line check and parser switcher
add parsers and builders.