Add basic parsing of file.

The generic parser has been added and space for other parsers has been
added as well.  The tests have also been updated to include this generic
parser.