Separate mock_file from the real file implementation.
Begin implementatin of PDF object parsing code.